Hello,
I need to have Http headers accessible in my EndpointInvocationChain. Right now, the MessageDispatcherServlet passes on Body only.
What will be the best way to make the http headers available?
Hello,
I need to have Http headers accessible in my EndpointInvocationChain. Right now, the MessageDispatcherServlet passes on Body only.
What will be the best way to make the http headers available?
From the reference documentation
http://static.springframework.org/sp...nsport-context
Code:TransportContext context = TransportContextHolder.getTransportContext(); HttpServletConnection connection = (HttpServletConnection )context.getConnection(); HttpServletRequest request = connection.getHttpServletRequest();
*thwaps his head*.
thanks sroach.