public class WrappedRequest
extends javax.servlet.http.HttpServletRequestWrapper
| Constructor and Description |
|---|
WrappedRequest(javax.servlet.http.HttpServletRequest originalRequest,
String path,
String pathInfo)
Create a new request with different path and path info properties.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPathInfo() |
String |
getPathTranslated() |
String |
getServletPath() |
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRolegetAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncodingpublic WrappedRequest(javax.servlet.http.HttpServletRequest originalRequest,
String path,
String pathInfo)
originalRequest - the original HTTP request.path - new servlet path to report to callers.pathInfo - new path info to report to callers.public String getPathTranslated()
getPathTranslated in interface javax.servlet.http.HttpServletRequestgetPathTranslated in class javax.servlet.http.HttpServletRequestWrapperpublic String getPathInfo()
getPathInfo in interface javax.servlet.http.HttpServletRequestgetPathInfo in class javax.servlet.http.HttpServletRequestWrapperpublic String getServletPath()
getServletPath in interface javax.servlet.http.HttpServletRequestgetServletPath in class javax.servlet.http.HttpServletRequestWrapperCopyright © 2015. All rights reserved.