SyntaxFix
Write A Post
Hire A Developer
Questions
I know that is a old question, but...
You can also use this in your class:
@Autowired private HttpServletRequest context;
And this will provide the current instance of HttpServletRequest for you use on your method.
HttpServletRequest