Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URI Templates in @RequestMapping [SPR-5251] #9925

spring-issuemaster opened this issue Oct 30, 2008 · 1 comment

URI Templates in @RequestMapping [SPR-5251] #9925

spring-issuemaster opened this issue Oct 30, 2008 · 1 comment


Copy link

@spring-issuemaster spring-issuemaster commented Oct 30, 2008

Arjen Poutsma opened SPR-5251 and commented

A URI template is a URI-like string, containing one or more variable names. When these variables are substituted for values, the template becomes a URI. See the proposed RFC at

We should allow for these URI templates to be used in @Controllers, something like:

@RequestMapping(value="/hotels/{hotel}", method=RequestMethod.GET)
public void updateHotel(@PathVariable("hotel")long id)

This issue is a sub-task of #9097

Referenced from: commits fe72e8a, efb0ab7, 27ed13f, bb51503, 90ef764, b33db73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.