When configured, one would specify the version parameter name, and then set @RequestMapping version attributes as usual. Both the accept and content-type headers can be checked, but they would have to agree on the version if both are present.