Encapsulation class for the Servlet 2.2 API
HttpServletRequest
. This is an implementation that delegates all the call to the
HttpServletRequest
object passed in the constructor except for some overridden methods which are use to simulate a URL. This is to be able to simulate any URL that would have been used to call the test method : if this was not done, the URL that would be returned (by calling the
getRequestURI()
method or others alike) would be the URL of the server redirector servlet or JSP and not a URL that the test case want to simulate.
@author
Vincent Massol
@version $Id: HttpServletRequestWrapper.java,v 1.8 2001/09/16 14:46:23 vmassol Exp $