Package com.aoapps.servlet.subrequest
Class HttpServletSubRequest
java.lang.Object
com.aoapps.servlet.subrequest.ServletSubRequest
com.aoapps.servlet.subrequest.HttpServletSubRequest
- All Implemented Interfaces:
IHttpServletSubRequest,IServletSubRequest,HttpServletRequest,ServletRequest
-
Field Summary
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(HttpServletResponse response) Cookie[]longgetDateHeader(String name) getHeaders(String name) intgetIntHeader(String name) getParts()getSession(boolean create) booleanChecks ifHttpServletRequest.logout()was called during the subrequest.booleanbooleanDeprecated.booleanbooleanbooleanisUserInRole(String role) voidvoidlogout()voidOverrides the method for the subrequest.<T extends HttpUpgradeHandler>
TMethods inherited from class com.aoapps.servlet.subrequest.ServletSubRequest
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, startAsyncMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
HttpServletSubRequest
-
-
Method Details
-
getAuthType
- Specified by:
getAuthTypein interfaceHttpServletRequest
-
getCookies
- Specified by:
getCookiesin interfaceHttpServletRequest
-
getDateHeader
- Specified by:
getDateHeaderin interfaceHttpServletRequest
-
getHeader
- Specified by:
getHeaderin interfaceHttpServletRequest
-
getHeaders
- Specified by:
getHeadersin interfaceHttpServletRequest
-
getHeaderNames
- Specified by:
getHeaderNamesin interfaceHttpServletRequest
-
getIntHeader
- Specified by:
getIntHeaderin interfaceHttpServletRequest
-
getMethod
- Specified by:
getMethodin interfaceHttpServletRequest
-
setMethod
Description copied from interface:IHttpServletSubRequestOverrides the method for the subrequest.- Specified by:
setMethodin interfaceIHttpServletSubRequest
-
getPathInfo
- Specified by:
getPathInfoin interfaceHttpServletRequest
-
getPathTranslated
- Specified by:
getPathTranslatedin interfaceHttpServletRequest
-
getContextPath
- Specified by:
getContextPathin interfaceHttpServletRequest
-
getQueryString
- Specified by:
getQueryStringin interfaceHttpServletRequest
-
getRemoteUser
- Specified by:
getRemoteUserin interfaceHttpServletRequest
-
isUserInRole
- Specified by:
isUserInRolein interfaceHttpServletRequest
-
getUserPrincipal
- Specified by:
getUserPrincipalin interfaceHttpServletRequest
-
getRequestedSessionId
- Specified by:
getRequestedSessionIdin interfaceHttpServletRequest
-
getRequestURI
- Specified by:
getRequestURIin interfaceHttpServletRequest
-
getRequestURL
- Specified by:
getRequestURLin interfaceHttpServletRequest
-
getServletPath
- Specified by:
getServletPathin interfaceHttpServletRequest
-
getSession
- Specified by:
getSessionin interfaceHttpServletRequest
-
getSession
- Specified by:
getSessionin interfaceHttpServletRequest
-
changeSessionId
- Specified by:
changeSessionIdin interfaceHttpServletRequest
-
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()- Specified by:
isRequestedSessionIdValidin interfaceHttpServletRequest
-
isRequestedSessionIdFromCookie
public boolean isRequestedSessionIdFromCookie()- Specified by:
isRequestedSessionIdFromCookiein interfaceHttpServletRequest
-
isRequestedSessionIdFromURL
public boolean isRequestedSessionIdFromURL()- Specified by:
isRequestedSessionIdFromURLin interfaceHttpServletRequest
-
isRequestedSessionIdFromUrl
Deprecated.- Specified by:
isRequestedSessionIdFromUrlin interfaceHttpServletRequest
-
authenticate
- Specified by:
authenticatein interfaceHttpServletRequest- Throws:
IOExceptionServletException
-
login
- Specified by:
loginin interfaceHttpServletRequest- Throws:
ServletException
-
logout
- Specified by:
logoutin interfaceHttpServletRequest- Throws:
ServletException
-
isLoggedOut
public boolean isLoggedOut()Description copied from interface:IHttpServletSubRequestChecks ifHttpServletRequest.logout()was called during the subrequest.- Specified by:
isLoggedOutin interfaceIHttpServletSubRequest
-
getParts
- Specified by:
getPartsin interfaceHttpServletRequest- Throws:
IOExceptionServletException
-
getPart
- Specified by:
getPartin interfaceHttpServletRequest- Throws:
IOExceptionServletException
-
upgrade
- Specified by:
upgradein interfaceHttpServletRequest- Throws:
IOExceptionServletException
-
