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-projects-issues opened this issue Oct 30, 2008 · 1 comment
Closed

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

spring-projects-issues opened this issue Oct 30, 2008 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues 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-projects-issues
Copy link
Collaborator Author

Arjen Poutsma commented

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants