[SPR-5690] Request header filtering in @RequestMapping Created: 21/Apr/09  Updated: 15/Jan/19  Resolved: 21/Apr/09

Status: Closed
Project: Spring Framework
Component/s: Web
Affects Version/s: None
Fix Version/s: 3.0 M3

Type: New Feature Priority: Major
Reporter: Arjen Poutsma Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SPR-5433 @RequestMapping to narrow on Request ... Resolved
is duplicated by SPR-4368 @RequestMapping narrowing based on pr... Closed
Related
is related to SPR-5623 Content-type filtering in @RequestMap... Resolved
Days since last comment: 6 days ago
Last commented by a User: true
Last updater: Spring Issuemaster

 Description   

See SPR-5623:

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.



 Comments   
Comment by Spring Issuemaster [ 14/Jan/19 ]

The Spring Framework has migrated to GitHub Issues. This issue corresponds to spring-projects/spring-framework#10360.

Generated at Mon Jan 21 09:24:43 UTC 2019 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.