Package io.varhttp
Class VarHttpServletRequest
java.lang.Object
jakarta.servlet.ServletRequestWrapper
jakarta.servlet.http.HttpServletRequestWrapper
io.varhttp.VarHttpServletRequest
- All Implemented Interfaces:
- jakarta.servlet.http.HttpServletRequest,- jakarta.servlet.ServletRequest
public class VarHttpServletRequest
extends jakarta.servlet.http.HttpServletRequestWrapper
- 
Field SummaryFields inherited from interface jakarta.servlet.http.HttpServletRequestBASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
- 
Constructor SummaryConstructorsConstructorDescriptionVarHttpServletRequest(VarConfig config, jakarta.servlet.http.HttpServletRequest request) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanauthenticate(jakarta.servlet.http.HttpServletResponse response) jakarta.servlet.http.HttpSessionjakarta.servlet.http.HttpSessiongetSession(boolean create) booleanbooleanbooleanbooleanisSecure()booleanisUserInRole(String role) voidvoidlogout()Methods inherited from class jakarta.servlet.http.HttpServletRequestWrappergetAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRequestURI, getRequestURL, getServletPath, getTrailerFields, isTrailerFieldsReady, newPushBuilder, upgradeMethods inherited from class jakarta.servlet.ServletRequestWrappergetAsyncContext, 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, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsyncMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.ServletRequestgetAsyncContext, 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, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
- 
Constructor Details- 
VarHttpServletRequest
 
- 
- 
Method Details- 
isSecurepublic boolean isSecure()- Specified by:
- isSecurein interface- jakarta.servlet.ServletRequest
- Overrides:
- isSecurein class- jakarta.servlet.ServletRequestWrapper
 
- 
getRemoteUser- Specified by:
- getRemoteUserin interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- getRemoteUserin class- jakarta.servlet.http.HttpServletRequestWrapper
 
- 
isUserInRole- Specified by:
- isUserInRolein interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- isUserInRolein class- jakarta.servlet.http.HttpServletRequestWrapper
 
- 
getUserPrincipal- Specified by:
- getUserPrincipalin interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- getUserPrincipalin class- jakarta.servlet.http.HttpServletRequestWrapper
 
- 
getRequestedSessionId- Specified by:
- getRequestedSessionIdin interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- getRequestedSessionIdin class- jakarta.servlet.http.HttpServletRequestWrapper
 
- 
getSessionpublic jakarta.servlet.http.HttpSession getSession(boolean create) - Specified by:
- getSessionin interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- getSessionin class- jakarta.servlet.http.HttpServletRequestWrapper
 
- 
getSessionpublic jakarta.servlet.http.HttpSession getSession()- Specified by:
- getSessionin interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- getSessionin class- jakarta.servlet.http.HttpServletRequestWrapper
 
- 
changeSessionId- Specified by:
- changeSessionIdin interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- changeSessionIdin class- jakarta.servlet.http.HttpServletRequestWrapper
 
- 
isRequestedSessionIdValidpublic boolean isRequestedSessionIdValid()- Specified by:
- isRequestedSessionIdValidin interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- isRequestedSessionIdValidin class- jakarta.servlet.http.HttpServletRequestWrapper
 
- 
isRequestedSessionIdFromCookiepublic boolean isRequestedSessionIdFromCookie()- Specified by:
- isRequestedSessionIdFromCookiein interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- isRequestedSessionIdFromCookiein class- jakarta.servlet.http.HttpServletRequestWrapper
 
- 
isRequestedSessionIdFromURLpublic boolean isRequestedSessionIdFromURL()- Specified by:
- isRequestedSessionIdFromURLin interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- isRequestedSessionIdFromURLin class- jakarta.servlet.http.HttpServletRequestWrapper
 
- 
authenticatepublic boolean authenticate(jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException - Specified by:
- authenticatein interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- authenticatein class- jakarta.servlet.http.HttpServletRequestWrapper
- Throws:
- IOException
- jakarta.servlet.ServletException
 
- 
login- Specified by:
- loginin interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- loginin class- jakarta.servlet.http.HttpServletRequestWrapper
- Throws:
- jakarta.servlet.ServletException
 
- 
logoutpublic void logout() throws jakarta.servlet.ServletException- Specified by:
- logoutin interface- jakarta.servlet.http.HttpServletRequest
- Overrides:
- logoutin class- jakarta.servlet.http.HttpServletRequestWrapper
- Throws:
- jakarta.servlet.ServletException
 
 
-