[go: nahoru, domu]

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

Request header filtering in @RequestMapping [SPR-5690] #10360

Closed
spring-projects-issues opened this issue Apr 21, 2009 · 0 comments
Closed

Request header filtering in @RequestMapping [SPR-5690] #10360

spring-projects-issues opened this issue Apr 21, 2009 · 0 comments
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator
spring-projects-issues commented Apr 21, 2009

Arjen Poutsma opened SPR-5690 and commented

See #10294:

It is useful to filter @RequestMapping method based on request headers, similarly to filtering by paramters. In effect, this feature would look something like:

@RequestMapping(value = "/hotels", header = "content-type=text/*")

This would match requests where the Content-Type header is 'text/plain', 'text/html', etc.


Issue Links:

Referenced from: commits afa4618

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: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants