Class AliasedURLRequestRedirector.UrlReplacerWrapper
java.lang.Object
jakarta.servlet.ServletRequestWrapper
jakarta.servlet.http.HttpServletRequestWrapper
org.exoplatform.ws.frameworks.servlet.AliasedURLRequestRedirector.UrlReplacerWrapper
- All Implemented Interfaces:
jakarta.servlet.http.HttpServletRequest,jakarta.servlet.ServletRequest
- Enclosing class:
- AliasedURLRequestRedirector
public class AliasedURLRequestRedirector.UrlReplacerWrapper
extends jakarta.servlet.http.HttpServletRequestWrapper
The 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}
-
Field Summary
Fields inherited from interface jakarta.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH -
Constructor Summary
ConstructorsConstructorDescriptionUrlReplacerWrapper(jakarta.servlet.http.HttpServletRequest request, Map<String, String> replaceMap) -
Method Summary
Modifier and TypeMethodDescriptionOverridden method.Overridden method.Overridden method.Methods inherited from class jakarta.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, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgradeMethods inherited from class jakarta.servlet.ServletRequestWrapper
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getProtocolRequestId, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getRequestId, getScheme, getServerName, getServerPort, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsyncMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.ServletRequest
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getProtocolRequestId, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getRequestId, getScheme, getServerName, getServerPort, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
-
Constructor Details
-
Method Details
-
getPathInfo
Overridden method.- Specified by:
getPathInfoin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getPathInfoin classjakarta.servlet.http.HttpServletRequestWrapper- Returns:
- actual path info
- See Also:
-
HttpServletRequestWrapper.getPathInfo()
-
getRequestURI
Overridden method.- Specified by:
getRequestURIin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getRequestURIin classjakarta.servlet.http.HttpServletRequestWrapper- Returns:
- actual URI
- See Also:
-
HttpServletRequestWrapper.getRequestURI()
-
getRequestURL
Overridden method.- Specified by:
getRequestURLin interfacejakarta.servlet.http.HttpServletRequest- Overrides:
getRequestURLin classjakarta.servlet.http.HttpServletRequestWrapper- Returns:
- actual URL
- See Also:
-
HttpServletRequestWrapper.getRequestURL()
-