Adding custom headers to a HTTP Request
843841Dec 12 2006 — edited Dec 12 2006Folks,
I'm wondering if it is possible to add custom headers to a HttpRquest. In other words is it possible add new headers to the HttpServletRequest. We have addHeader methods for Respones but not Requests. Servlet Filters dont seem to let u do it too.
I saw that the deprecated HttpRequestWrapper (catalina.jar) has addHeader methods, but I get casting issues. Is there any proper way to accomplish this ?
Thanks a bunch for your time n help folks..