Closed
Description
Arjen Poutsma opened SPR-5623 and commented
It would be useful to customize the view resolution/content negotiation in the @RequestMapping
annotation, by picking a response content-type there. Something like:
@RequestMapping
(value = "/hotels", contentType="application/pdf")
This contentType would directly influence the View that is picked by the ViewResolver.
Issue Links:
- Request header filtering in @RequestMapping [SPR-5690] #10360 Request header filtering in
@RequestMapping
3 votes, 3 watchers