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

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

Comments

@spring-issuemaster
Copy link
Collaborator

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 http://bitworking.org/projects/URI-Templates/

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

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Nov 17, 2008

Arjen Poutsma commented

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.