Request header filtering in @RequestMapping [SPR-5690] #10360
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
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:
@RequestMapping
to narrow on Request Header details ("is duplicated by")@RequestMapping
narrowing based on presence of command object ("is duplicated by")@RequestMapping
Referenced from: commits afa4618
The text was updated successfully, but these errors were encountered: