Class MultiSiteRequestWrapper
java.lang.Object
org.apache.ofbiz.cmssite.multisite.MultiSiteRequestWrapper
- All Implemented Interfaces:
HttpServletRequest
,ServletRequest
-
Field Summary
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticateget async contextgetAttribute
(String arg0) int
long
Cookie[]
long
getDateHeader
(String arg0) get dispatcher typegetHeaders
(String arg0) int
getIntHeader
(String arg0) int
getParameter
(String arg0) String[]
getParameterValues
(String arg0) get partgetParts()
get partsget readergetRealPath
(String arg0) Deprecated.get remote addrget remote hostint
get remote portgetRequestDispatcher
(String arg0) get request dispatcherget schemeget server nameint
get server portget servlet contextgetSession
(boolean arg0) boolean
is async startedboolean
is async supportedboolean
boolean
Deprecated.boolean
boolean
boolean
isSecure()
is secureboolean
isUserInRole
(String arg0) void
loginvoid
logout()
logoutvoid
removeAttribute
(String arg0) remove attributevoid
setAttribute
(String arg0, Object arg1) set attributevoid
setCharacterEncoding
(String arg0) set character encodingstart asyncstartAsync
(ServletRequest arg0, ServletResponse arg1) start async<T extends HttpUpgradeHandler>
TupgradeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.servlet.http.HttpServletRequest
getHttpServletMapping, getTrailerFields, isTrailerFieldsReady, newPushBuilder
-
Constructor Details
-
MultiSiteRequestWrapper
-
-
Method Details
-
changeSessionId
- Specified by:
changeSessionId
in interfaceHttpServletRequest
-
getAuthType
- Specified by:
getAuthType
in interfaceHttpServletRequest
-
getContextPath
- Specified by:
getContextPath
in interfaceHttpServletRequest
-
getCookies
- Specified by:
getCookies
in interfaceHttpServletRequest
-
getDateHeader
- Specified by:
getDateHeader
in interfaceHttpServletRequest
-
getHeader
- Specified by:
getHeader
in interfaceHttpServletRequest
-
getHeaderNames
- Specified by:
getHeaderNames
in interfaceHttpServletRequest
-
getHeaders
- Specified by:
getHeaders
in interfaceHttpServletRequest
-
getIntHeader
- Specified by:
getIntHeader
in interfaceHttpServletRequest
-
getMethod
- Specified by:
getMethod
in interfaceHttpServletRequest
-
getPathInfo
- Specified by:
getPathInfo
in interfaceHttpServletRequest
-
getPathTranslated
- Specified by:
getPathTranslated
in interfaceHttpServletRequest
-
getQueryString
- Specified by:
getQueryString
in interfaceHttpServletRequest
-
getRemoteUser
- Specified by:
getRemoteUser
in interfaceHttpServletRequest
-
getRequestURI
- Specified by:
getRequestURI
in interfaceHttpServletRequest
-
getRequestURL
- Specified by:
getRequestURL
in interfaceHttpServletRequest
-
getRequestedSessionId
- Specified by:
getRequestedSessionId
in interfaceHttpServletRequest
-
getServletPath
- Specified by:
getServletPath
in interfaceHttpServletRequest
-
getSession
- Specified by:
getSession
in interfaceHttpServletRequest
-
getSession
- Specified by:
getSession
in interfaceHttpServletRequest
-
getUserPrincipal
- Specified by:
getUserPrincipal
in interfaceHttpServletRequest
-
isRequestedSessionIdFromCookie
public boolean isRequestedSessionIdFromCookie()- Specified by:
isRequestedSessionIdFromCookie
in interfaceHttpServletRequest
-
isRequestedSessionIdFromURL
public boolean isRequestedSessionIdFromURL()- Specified by:
isRequestedSessionIdFromURL
in interfaceHttpServletRequest
-
isRequestedSessionIdFromUrl
Deprecated.- Specified by:
isRequestedSessionIdFromUrl
in interfaceHttpServletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()- Specified by:
isRequestedSessionIdValid
in interfaceHttpServletRequest
-
isUserInRole
- Specified by:
isUserInRole
in interfaceHttpServletRequest
-
getAttribute
- Specified by:
getAttribute
in interfaceServletRequest
-
getAttributeNames
- Specified by:
getAttributeNames
in interfaceServletRequest
-
getCharacterEncoding
- Specified by:
getCharacterEncoding
in interfaceServletRequest
-
getContentLength
public int getContentLength()- Specified by:
getContentLength
in interfaceServletRequest
-
getContentLengthLong
public long getContentLengthLong()- Specified by:
getContentLengthLong
in interfaceServletRequest
-
getContentType
- Specified by:
getContentType
in interfaceServletRequest
-
getInputStream
- Specified by:
getInputStream
in interfaceServletRequest
- Throws:
IOException
-
getLocalAddr
- Specified by:
getLocalAddr
in interfaceServletRequest
-
getLocalName
- Specified by:
getLocalName
in interfaceServletRequest
-
getLocalPort
public int getLocalPort()- Specified by:
getLocalPort
in interfaceServletRequest
-
getLocale
- Specified by:
getLocale
in interfaceServletRequest
-
getLocales
- Specified by:
getLocales
in interfaceServletRequest
-
getParameter
- Specified by:
getParameter
in interfaceServletRequest
-
getParameterMap
- Specified by:
getParameterMap
in interfaceServletRequest
-
getParameterNames
- Specified by:
getParameterNames
in interfaceServletRequest
-
getParameterValues
- Specified by:
getParameterValues
in interfaceServletRequest
-
getProtocol
- Specified by:
getProtocol
in interfaceServletRequest
-
getReader
get reader- Specified by:
getReader
in interfaceServletRequest
- Throws:
IOException
-
getRealPath
Deprecated.get real path- Specified by:
getRealPath
in interfaceServletRequest
-
getRemoteAddr
get remote addr- Specified by:
getRemoteAddr
in interfaceServletRequest
-
getRemoteHost
get remote host- Specified by:
getRemoteHost
in interfaceServletRequest
-
getRemotePort
public int getRemotePort()get remote port- Specified by:
getRemotePort
in interfaceServletRequest
-
getRequestDispatcher
get request dispatcher- Specified by:
getRequestDispatcher
in interfaceServletRequest
-
getScheme
get scheme- Specified by:
getScheme
in interfaceServletRequest
-
getServerName
get server name- Specified by:
getServerName
in interfaceServletRequest
-
getServerPort
public int getServerPort()get server port- Specified by:
getServerPort
in interfaceServletRequest
-
isSecure
public boolean isSecure()is secure- Specified by:
isSecure
in interfaceServletRequest
-
removeAttribute
remove attribute- Specified by:
removeAttribute
in interfaceServletRequest
-
setAttribute
set attribute- Specified by:
setAttribute
in interfaceServletRequest
-
setCharacterEncoding
set character encoding- Specified by:
setCharacterEncoding
in interfaceServletRequest
- Throws:
UnsupportedEncodingException
-
authenticate
authenticate- Specified by:
authenticate
in interfaceHttpServletRequest
- Throws:
IOException
ServletException
-
getPart
get part- Specified by:
getPart
in interfaceHttpServletRequest
- Throws:
IOException
IllegalStateException
ServletException
-
getParts
get parts- Specified by:
getParts
in interfaceHttpServletRequest
- Throws:
IOException
IllegalStateException
ServletException
-
login
login- Specified by:
login
in interfaceHttpServletRequest
- Throws:
ServletException
-
logout
logout- Specified by:
logout
in interfaceHttpServletRequest
- Throws:
ServletException
-
getAsyncContext
get async context- Specified by:
getAsyncContext
in interfaceServletRequest
-
getDispatcherType
get dispatcher type- Specified by:
getDispatcherType
in interfaceServletRequest
-
getServletContext
get servlet context- Specified by:
getServletContext
in interfaceServletRequest
-
isAsyncStarted
public boolean isAsyncStarted()is async started- Specified by:
isAsyncStarted
in interfaceServletRequest
-
isAsyncSupported
public boolean isAsyncSupported()is async supported- Specified by:
isAsyncSupported
in interfaceServletRequest
-
startAsync
start async- Specified by:
startAsync
in interfaceServletRequest
-
startAsync
start async- Specified by:
startAsync
in interfaceServletRequest
-
upgrade
public <T extends HttpUpgradeHandler> T upgrade(Class<T> handlerClass) throws IOException, ServletException upgrade- Specified by:
upgrade
in interfaceHttpServletRequest
- Throws:
IOException
ServletException
-