How to get HttpServletRequest
object in FlowController
?
I am trying to retrieve request object from getNativeRequest()
method,But it is not giving HttpServletRequest object.
(HttpServletRequest)RequestContextHolder.getRequestContext().getExternalContext().getNativeRequest()
I followed above approach, It's returning SRTServletRequest
object.