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?
to your account
Arjen Poutsma opened SPR-5690 and commented
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.
Referenced from: commits afa4618
The text was updated successfully, but these errors were encountered:
No branches or pull requests