How to extend HttpServletRequestWrapper ?
843841Nov 18 2005 — edited Nov 19 2005I'd like to create a class that extends HttpServletRequestWrapper in order to store the instances of this class, that are HttpServletRequest objects, as values on an Hashtable.
My problem is that HttpServletRequestWrapper has only one constructor, with an HttpServletRequest object as parameter.
So if I extend HttpServletRequestWrapper like this it doesn't compile:
-----------------------------------------------------------
public class MyHttpRequest extends HttpServletRequestWrapper
{
public HttpRequest(HttpServletRequest request)
{
}
}
-----------------------------------------------------------
The compiler message is that it cannot resolve constructor: HttpServletRequestWrapper()
I Hope somebody could help!
Peppe.