Yes you can. Just declare it as @PathVariable in your methods if you want to access it there.
@Controller
@RequestMapping(value = "{version}/test")
class TestController {
@RequestMapping(value="/something")
public ModelAndView doSomething(@PathVariable String version) {
// do something here with the version
}
}