Issue
Is there any way that I could get the original IP address of the client coming to the server from org.springframework.web.context.request.WebRequest
?
Solution
I would suggest to take a look at the hierarchy where this interface is used.
Here's the UML:
Main thing here is to find the place where we will be able to get the native javax.servlet.http.HttpServletRequest
interface and its standard methods:
getRemoteAddr()
, getRemotePort()
, getRemoteHost()
.
Answered By - Alex