Construct a
HttpServletRequest instance that delegates
it's method calls to the request object passed as parameter and that
uses the URL passed as parameter to simulate a URL from which the
request would come from.
Parameters: theRequest - the real HTTP request Parameters: theURL - the URL to simulate or null if none