Package com.aoapps.servlet.subrequest
Class UnmodifiableCopyHttpServletRequest
java.lang.Object
com.aoapps.servlet.subrequest.UnmodifiableCopyServletRequest
com.aoapps.servlet.subrequest.UnmodifiableCopyHttpServletRequest
- All Implemented Interfaces:
HttpServletRequest
,ServletRequest
public class UnmodifiableCopyHttpServletRequest
extends UnmodifiableCopyServletRequest
implements HttpServletRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class com.aoapps.servlet.subrequest.UnmodifiableCopyServletRequest
UnmodifiableCopyServletRequest.Lock
-
Field Summary
Fields inherited from class com.aoapps.servlet.subrequest.UnmodifiableCopyServletRequest
lock
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate
(HttpServletResponse response) Cookie[]
long
getDateHeader
(String name) getHeaders
(String name) int
getIntHeader
(String name) getParts()
getSession
(boolean create) boolean
boolean
Deprecated.boolean
boolean
boolean
isUserInRole
(String role) void
void
logout()
<T extends HttpUpgradeHandler>
TMethods inherited from class com.aoapps.servlet.subrequest.UnmodifiableCopyServletRequest
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
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
-
Constructor Details
-
UnmodifiableCopyHttpServletRequest
-
-
Method Details
-
getAuthType
- Specified by:
getAuthType
in interfaceHttpServletRequest
-
getCookies
- Specified by:
getCookies
in interfaceHttpServletRequest
-
getDateHeader
- Specified by:
getDateHeader
in interfaceHttpServletRequest
-
getHeader
- Specified by:
getHeader
in interfaceHttpServletRequest
-
getHeaders
- Specified by:
getHeaders
in interfaceHttpServletRequest
-
getHeaderNames
- Specified by:
getHeaderNames
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
-
getContextPath
- Specified by:
getContextPath
in interfaceHttpServletRequest
-
getQueryString
- Specified by:
getQueryString
in interfaceHttpServletRequest
-
getRemoteUser
- Specified by:
getRemoteUser
in interfaceHttpServletRequest
-
isUserInRole
- Specified by:
isUserInRole
in interfaceHttpServletRequest
-
getUserPrincipal
- Specified by:
getUserPrincipal
in interfaceHttpServletRequest
-
getRequestedSessionId
- Specified by:
getRequestedSessionId
in interfaceHttpServletRequest
-
getRequestURI
- Specified by:
getRequestURI
in interfaceHttpServletRequest
-
getRequestURL
- Specified by:
getRequestURL
in interfaceHttpServletRequest
-
getServletPath
- Specified by:
getServletPath
in interfaceHttpServletRequest
-
getSession
- Specified by:
getSession
in interfaceHttpServletRequest
-
getSession
- Specified by:
getSession
in interfaceHttpServletRequest
-
changeSessionId
- Specified by:
changeSessionId
in interfaceHttpServletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()- Specified by:
isRequestedSessionIdValid
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
-
authenticate
- Specified by:
authenticate
in interfaceHttpServletRequest
- Throws:
IOException
ServletException
-
login
- Specified by:
login
in interfaceHttpServletRequest
- Throws:
ServletException
-
logout
- Specified by:
logout
in interfaceHttpServletRequest
- Throws:
ServletException
-
getParts
- Specified by:
getParts
in interfaceHttpServletRequest
- Throws:
IOException
ServletException
-
getPart
- Specified by:
getPart
in interfaceHttpServletRequest
- Throws:
IOException
ServletException
-
upgrade
- Specified by:
upgrade
in interfaceHttpServletRequest
- Throws:
IOException
ServletException
-