Class RequestWrapper
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
net.sf.basedb.clients.web.extensions.RequestWrapper
- All Implemented Interfaces:
HttpServletRequest
,ServletRequest
Wrapper for HttpServletRequest that allows us to set
proper servlet path and path info attributes for an extension
servlet. The result should be the same as if the servlet had
been mapped as a "standalone" servlet in web.xml.
- Version:
- 2.10
- Author:
- nicklas
- Last modified
- $Date: 2009-06-15 11:05:06 +0200 (må, 15 jun 2009) $
-
Field Summary
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
ConstructorDescriptionRequestWrapper
(HttpServletRequest request, String servletPath, String pathInfo) -
Method Summary
Modifier and TypeMethodDescriptionFrom the HttpServletRequestInterface ------------------------------------Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade
Methods inherited from class javax.servlet.ServletRequestWrapper
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.servlet.ServletRequest
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
-
Field Details
-
pathInfo
-
servletPath
-
originalServletPath
-
-
Constructor Details
-
RequestWrapper
-
-
Method Details
-
getPathInfo
From the HttpServletRequestInterface ------------------------------------- Specified by:
getPathInfo
in interfaceHttpServletRequest
- Overrides:
getPathInfo
in classHttpServletRequestWrapper
-
getServletPath
- Specified by:
getServletPath
in interfaceHttpServletRequest
- Overrides:
getServletPath
in classHttpServletRequestWrapper
-