SyntaxFix
Write A Post
Hire A Developer
Questions
@eeezyy's answer didn't work for me, although I'm using Spring Boot (2.0.4) and it may differ, but a variation here in 2018 works thus:
@Autowired private HttpServletRequest request;