HttpServletRequestWrapper
To use, simply add the ContextHolderAwareRequestFilter to web.xml.
ContextHolderAwareRequestFilter
web.xml