Wrapper around a javax.servlet.http.HttpServletRequest
that transforms an application request object (which might be the original
one passed to a servlet, or might be based on the 2.3
javax.servlet.http.HttpServletRequestWrapper class)
back into an internal org.apache.catalina.HttpRequest.
WARNING: Due to Java's lack of support for multiple
inheritance, all of the logic in ApplicationRequest is
duplicated in ApplicationHttpRequest. Make sure that you
keep these two classes in synchronization when making changes!
author: Craig R. McClanahan author: Remy Maucherat version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $
Inner Class :protected class AttributeNamesEnumerator implements Enumeration
getRequestDispatcher(String path) Return a RequestDispatcher that wraps the resource at the specified
path, which may be interpreted as relative to the current request path.
isRequestedSessionIdValid() Returns true if the request specifies a JSESSIONID that is valid within
the context of this ApplicationHttpRequest, false otherwise.
Return a RequestDispatcher that wraps the resource at the specified
path, which may be interpreted as relative to the current request path.
Parameters: path - Path of the resource to be wrapped
Return the session associated with this Request, creating one
if necessary and requested.
Parameters: create - Create a new session if one does not exist
Returns true if the request specifies a JSESSIONID that is valid within
the context of this ApplicationHttpRequest, false otherwise.
true if the request specifies a JSESSIONID that is valid withinthe context of this ApplicationHttpRequest, false otherwise.
Merge the two sets of parameter values into a single String array.
Parameters: values1 - First set of values Parameters: values2 - Second set of values
Override the setAttribute() method of the
wrapped request.
Parameters: name - Name of the attribute to set Parameters: value - Value of the attribute to set