Issue
How do you add a http protocol header value in HttpServletRequest at a Filter,before call request.getHeader()
and get the header value?
Solution
You can find the hooks in href="http://download.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequestWrapper.html" rel="noreferrer">HttpServletRequestWrapper.
[Edited to include a link to an example]
Here you can find a fine example.
Answered By - Adeel Ansari
Answer Checked By - Timothy Miller (JavaFixing Admin)