Class EmbRequest
java.lang.Object
jakarta.servlet.ServletRequestWrapper
jakarta.servlet.http.HttpServletRequestWrapper
com.tremolosecurity.embedd.EmbRequest
- All Implemented Interfaces:
jakarta.servlet.http.HttpServletRequest
,jakarta.servlet.ServletRequest
public class EmbRequest
extends jakarta.servlet.http.HttpServletRequestWrapper
-
Field Summary
Fields inherited from interface jakarta.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
Constructor Summary
ConstructorDescriptionEmbRequest
(HttpFilterRequest filterReq, jakarta.servlet.http.HttpSession session, HashMap<String, Attribute> reqHeaders) -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String arg0) int
jakarta.servlet.http.Cookie[]
long
getDateHeader
(String name) getHeaders
(String name) jakarta.servlet.ServletInputStream
int
getIntHeader
(String name) int
getParameter
(String arg0) String[]
getParameterValues
(String arg0) getRealPath
(String arg0) int
jakarta.servlet.http.HttpServletRequest
jakarta.servlet.RequestDispatcher
getRequestDispatcher
(String arg0) int
jakarta.servlet.http.HttpSession
jakarta.servlet.http.HttpSession
getSession
(boolean arg0) boolean
boolean
boolean
boolean
boolean
isSecure()
boolean
isUserInRole
(String role) void
removeAttribute
(String arg0) void
setAttribute
(String arg0, Object arg1) void
setCharacterEncoding
(String arg0) Methods inherited from class jakarta.servlet.http.HttpServletRequestWrapper
authenticate, changeSessionId, getHttpServletMapping, getPart, getParts, getTrailerFields, isTrailerFieldsReady, login, logout, newPushBuilder, upgrade
Methods inherited from class jakarta.servlet.ServletRequestWrapper
getAsyncContext, getContentLengthLong, getDispatcherType, getProtocolRequestId, getRequestId, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isWrapperFor, isWrapperFor, setCharacterEncoding, setRequest, startAsync, startAsync
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.servlet.ServletRequest
getAsyncContext, getContentLengthLong, getDispatcherType, getProtocolRequestId, getRequestId, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, setCharacterEncoding, startAsync, startAsync
-
Constructor Details
-
EmbRequest
public EmbRequest(HttpFilterRequest filterReq, jakarta.servlet.http.HttpSession session, HashMap<String, Attribute> reqHeaders)
-
-
Method Details
-
getRequest
public jakarta.servlet.http.HttpServletRequest getRequest()- Overrides:
getRequest
in classjakarta.servlet.ServletRequestWrapper
-
getLocalAddr
- Specified by:
getLocalAddr
in interfacejakarta.servlet.ServletRequest
- Overrides:
getLocalAddr
in classjakarta.servlet.ServletRequestWrapper
-
getLocalName
- Specified by:
getLocalName
in interfacejakarta.servlet.ServletRequest
- Overrides:
getLocalName
in classjakarta.servlet.ServletRequestWrapper
-
getLocalPort
public int getLocalPort()- Specified by:
getLocalPort
in interfacejakarta.servlet.ServletRequest
- Overrides:
getLocalPort
in classjakarta.servlet.ServletRequestWrapper
-
getRemotePort
public int getRemotePort()- Specified by:
getRemotePort
in interfacejakarta.servlet.ServletRequest
- Overrides:
getRemotePort
in classjakarta.servlet.ServletRequestWrapper
-
getAuthType
- Specified by:
getAuthType
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getAuthType
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getContextPath
- Specified by:
getContextPath
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getContextPath
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getCookies
public jakarta.servlet.http.Cookie[] getCookies()- Specified by:
getCookies
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getCookies
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getDateHeader
- Specified by:
getDateHeader
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getDateHeader
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getHeader
-
getHeaderNames
- Specified by:
getHeaderNames
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getHeaderNames
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getHeaders
- Specified by:
getHeaders
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getHeaders
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getIntHeader
- Specified by:
getIntHeader
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getIntHeader
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getMethod
- Specified by:
getMethod
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getMethod
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getPathInfo
- Specified by:
getPathInfo
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getPathInfo
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getPathTranslated
- Specified by:
getPathTranslated
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getPathTranslated
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getQueryString
- Specified by:
getQueryString
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getQueryString
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getRemoteUser
- Specified by:
getRemoteUser
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getRemoteUser
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getRequestURI
- Specified by:
getRequestURI
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getRequestURI
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getRequestURL
- Specified by:
getRequestURL
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getRequestURL
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getRequestedSessionId
- Specified by:
getRequestedSessionId
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getRequestedSessionId
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getServletPath
- Specified by:
getServletPath
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getServletPath
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getSession
public jakarta.servlet.http.HttpSession getSession()- Specified by:
getSession
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getSession
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getSession
public jakarta.servlet.http.HttpSession getSession(boolean arg0) - Specified by:
getSession
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getSession
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getUserPrincipal
- Specified by:
getUserPrincipal
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getUserPrincipal
in classjakarta.servlet.http.HttpServletRequestWrapper
-
isRequestedSessionIdFromCookie
public boolean isRequestedSessionIdFromCookie()- Specified by:
isRequestedSessionIdFromCookie
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
isRequestedSessionIdFromCookie
in classjakarta.servlet.http.HttpServletRequestWrapper
-
isRequestedSessionIdFromURL
public boolean isRequestedSessionIdFromURL()- Specified by:
isRequestedSessionIdFromURL
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
isRequestedSessionIdFromURL
in classjakarta.servlet.http.HttpServletRequestWrapper
-
isRequestedSessionIdFromUrl
public boolean isRequestedSessionIdFromUrl() -
isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()- Specified by:
isRequestedSessionIdValid
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
isRequestedSessionIdValid
in classjakarta.servlet.http.HttpServletRequestWrapper
-
isUserInRole
- Specified by:
isUserInRole
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
isUserInRole
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getAttribute
-
getAttributeNames
- Specified by:
getAttributeNames
in interfacejakarta.servlet.ServletRequest
- Overrides:
getAttributeNames
in classjakarta.servlet.ServletRequestWrapper
-
getCharacterEncoding
- Specified by:
getCharacterEncoding
in interfacejakarta.servlet.ServletRequest
- Overrides:
getCharacterEncoding
in classjakarta.servlet.ServletRequestWrapper
-
getContentLength
public int getContentLength()- Specified by:
getContentLength
in interfacejakarta.servlet.ServletRequest
- Overrides:
getContentLength
in classjakarta.servlet.ServletRequestWrapper
-
getContentType
- Specified by:
getContentType
in interfacejakarta.servlet.ServletRequest
- Overrides:
getContentType
in classjakarta.servlet.ServletRequestWrapper
-
getInputStream
- Specified by:
getInputStream
in interfacejakarta.servlet.ServletRequest
- Overrides:
getInputStream
in classjakarta.servlet.ServletRequestWrapper
- Throws:
IOException
-
getLocale
- Specified by:
getLocale
in interfacejakarta.servlet.ServletRequest
- Overrides:
getLocale
in classjakarta.servlet.ServletRequestWrapper
-
getLocales
- Specified by:
getLocales
in interfacejakarta.servlet.ServletRequest
- Overrides:
getLocales
in classjakarta.servlet.ServletRequestWrapper
-
getParameter
-
getParameterMap
- Specified by:
getParameterMap
in interfacejakarta.servlet.ServletRequest
- Overrides:
getParameterMap
in classjakarta.servlet.ServletRequestWrapper
-
getParameterNames
- Specified by:
getParameterNames
in interfacejakarta.servlet.ServletRequest
- Overrides:
getParameterNames
in classjakarta.servlet.ServletRequestWrapper
-
getParameterValues
-
getProtocol
- Specified by:
getProtocol
in interfacejakarta.servlet.ServletRequest
- Overrides:
getProtocol
in classjakarta.servlet.ServletRequestWrapper
-
getReader
- Specified by:
getReader
in interfacejakarta.servlet.ServletRequest
- Overrides:
getReader
in classjakarta.servlet.ServletRequestWrapper
- Throws:
IOException
-
getRealPath
-
getRemoteAddr
- Specified by:
getRemoteAddr
in interfacejakarta.servlet.ServletRequest
- Overrides:
getRemoteAddr
in classjakarta.servlet.ServletRequestWrapper
-
getRemoteHost
- Specified by:
getRemoteHost
in interfacejakarta.servlet.ServletRequest
- Overrides:
getRemoteHost
in classjakarta.servlet.ServletRequestWrapper
-
getRequestDispatcher
- Specified by:
getRequestDispatcher
in interfacejakarta.servlet.ServletRequest
- Overrides:
getRequestDispatcher
in classjakarta.servlet.ServletRequestWrapper
-
getScheme
- Specified by:
getScheme
in interfacejakarta.servlet.ServletRequest
- Overrides:
getScheme
in classjakarta.servlet.ServletRequestWrapper
-
getServerName
- Specified by:
getServerName
in interfacejakarta.servlet.ServletRequest
- Overrides:
getServerName
in classjakarta.servlet.ServletRequestWrapper
-
getServerPort
public int getServerPort()- Specified by:
getServerPort
in interfacejakarta.servlet.ServletRequest
- Overrides:
getServerPort
in classjakarta.servlet.ServletRequestWrapper
-
isSecure
public boolean isSecure()- Specified by:
isSecure
in interfacejakarta.servlet.ServletRequest
- Overrides:
isSecure
in classjakarta.servlet.ServletRequestWrapper
-
removeAttribute
- Specified by:
removeAttribute
in interfacejakarta.servlet.ServletRequest
- Overrides:
removeAttribute
in classjakarta.servlet.ServletRequestWrapper
-
setAttribute
-
setCharacterEncoding
- Specified by:
setCharacterEncoding
in interfacejakarta.servlet.ServletRequest
- Overrides:
setCharacterEncoding
in classjakarta.servlet.ServletRequestWrapper
- Throws:
UnsupportedEncodingException
-