Removing Request Headers & Cookies from HttpServletRequest
843840Mar 6 2002 — edited Mar 11 2002I am trying to filter out (delete) some Request Headers and Cookies out of HttpServletRequest in one servlet, before forwarding the HttpServletRequest object to another servlet for processing.
I can easily get these i.e. "req.getHeader(name)". However I can't seem to find API's to set or delete request headers and cookies.
Does anybody know a technique I can use to do this?
Why aren't there API's to do such things as set and delete?
Thanks,
Art