Class AliasedURLRequestRedirector.UrlReplacerWrapper
- java.lang.Object
-
- javax.servlet.ServletRequestWrapper
-
- javax.servlet.http.HttpServletRequestWrapper
-
- org.exoplatform.ws.frameworks.servlet.AliasedURLRequestRedirector.UrlReplacerWrapper
-
- All Implemented Interfaces:
javax.servlet.http.HttpServletRequest,javax.servlet.ServletRequest
- Enclosing class:
- AliasedURLRequestRedirector
public class AliasedURLRequestRedirector.UrlReplacerWrapper extends javax.servlet.http.HttpServletRequestWrapperThe custom http request wrapper that is designed to substitute given parameters in URLs with corresponding values. Parameters are marked at an URL in the form: {$parameter-name}
-
-
Constructor Summary
Constructors Constructor Description UrlReplacerWrapper(javax.servlet.http.HttpServletRequest request, Map<String,String> replaceMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPathInfo()Overridden method.StringgetRequestURI()Overridden method.StringBuffergetRequestURL()Overridden method.-
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, getServletPath, 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
-
-
-
-
Method Detail
-
getPathInfo
public String getPathInfo()
Overridden method.- Specified by:
getPathInfoin interfacejavax.servlet.http.HttpServletRequest- Overrides:
getPathInfoin classjavax.servlet.http.HttpServletRequestWrapper- Returns:
- actual path info
- See Also:
HttpServletRequestWrapper.getPathInfo()
-
getRequestURI
public String getRequestURI()
Overridden method.- Specified by:
getRequestURIin interfacejavax.servlet.http.HttpServletRequest- Overrides:
getRequestURIin classjavax.servlet.http.HttpServletRequestWrapper- Returns:
- actual URI
- See Also:
HttpServletRequestWrapper.getRequestURI()
-
getRequestURL
public StringBuffer getRequestURL()
Overridden method.- Specified by:
getRequestURLin interfacejavax.servlet.http.HttpServletRequest- Overrides:
getRequestURLin classjavax.servlet.http.HttpServletRequestWrapper- Returns:
- actual URL
- See Also:
HttpServletRequestWrapper.getRequestURL()
-
-