public abstract class AbstractHttpServletRequestWrapper23 extends AbstractHttpServletRequestWrapper
AbstractHttpServletRequestWrapper by adding the new methods
of the Servlet 2.3 API specifications.AbstractHttpServletRequestWrapperremoteHostName, remoteIPAddress, remoteUser, request, url| Constructor and Description |
|---|
AbstractHttpServletRequestWrapper23(javax.servlet.http.HttpServletRequest theRequest,
ServletURL theURL)
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. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getParameterMap() |
java.lang.StringBuffer |
getRequestURL() |
void |
setCharacterEncoding(java.lang.String theEnvironment) |
getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getInputStream, getIntHeader, getLocale, getLocales, getMethod, getOriginalRequest, getParameter, getParameterNames, getParameterValues, getPathInfo, getPathTranslated, getProtocol, getQueryString, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemoteUser, getRequestDispatcher, getRequestedSessionId, getRequestURI, getScheme, getServerName, getServerPort, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, removeAttribute, setAttribute, setRemoteHostName, setRemoteIPAddress, setRemoteUserpublic AbstractHttpServletRequestWrapper23(javax.servlet.http.HttpServletRequest theRequest,
ServletURL theURL)
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.theRequest - the real HTTP requesttheURL - the URL to simulate or null if nonepublic java.lang.StringBuffer getRequestURL()
HttpServletRequest.getRequestURL()public void setCharacterEncoding(java.lang.String theEnvironment)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionServletRequest.setCharacterEncoding(String)public java.util.Map getParameterMap()
ServletRequest.getParameterMap()Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.