package javax.servlet.http;
Provides a convenient implementation of the HttpServletRequest interface
that can be subclassed by developers wishing to adapt the request to a
Servlet.
This class implements the Wrapper or Decorator pattern. Methods default
to calling through to the wrapped request object.
Constructs a request object wrapping the given request.
The default behavior of this method is to return getAuthType()
on the wrapped request object.
The default behavior of this method is to return getCookies()
on the wrapped request object.
The default behavior of this method is to return getDateHeader(String name)
on the wrapped request object.
The default behavior of this method is to return getHeader(String name)
on the wrapped request object.
The default behavior of this method is to return getHeaders(String name)
on the wrapped request object.
The default behavior of this method is to return getHeaderNames()
on the wrapped request object.
The default behavior of this method is to return
getIntHeader(String name) on the wrapped request object.
The default behavior of this method is to return getMethod()
on the wrapped request object.
The default behavior of this method is to return getPathInfo()
on the wrapped request object.
The default behavior of this method is to return getPathTranslated()
on the wrapped request object.
The default behavior of this method is to return getContextPath()
on the wrapped request object.
The default behavior of this method is to return getQueryString()
on the wrapped request object.
The default behavior of this method is to return getRemoteUser()
on the wrapped request object.
The default behavior of this method is to return isUserInRole(String role)
on the wrapped request object.
The default behavior of this method is to return getUserPrincipal()
on the wrapped request object.
The default behavior of this method is to return getRequestedSessionId()
on the wrapped request object.
The default behavior of this method is to return getRequestURI()
on the wrapped request object.
The default behavior of this method is to return getRequestURL()
on the wrapped request object.
The default behavior of this method is to return getServletPath()
on the wrapped request object.
The default behavior of this method is to return getSession(boolean create)
on the wrapped request object.
The default behavior of this method is to return getSession()
on the wrapped request object.
The default behavior of this method is to return isRequestedSessionIdValid()
on the wrapped request object.
The default behavior of this method is to return isRequestedSessionIdFromCookie()
on the wrapped request object.
The default behavior of this method is to return isRequestedSessionIdFromURL()
on the wrapped request object.
The default behavior of this method is to return isRequestedSessionIdFromUrl()
on the wrapped request object.
The default behavior of this method is to call authenticate on the
wrapped request object.
The default behavior of this method is to call login on the wrapped
request object.
The default behavior of this method is to call login on the wrapped
request object.
The default behavior of this method is to call getParts on the wrapped
request object.
Any changes to the returned Collection
must not
affect this HttpServletRequestWrapper
.
The default behavior of this method is to call getPart on the wrapped
request object.