Class ProxyRequest
java.lang.Object
jakarta.servlet.ServletRequestWrapper
jakarta.servlet.http.HttpServletRequestWrapper
com.tremolosecurity.proxy.ProxyRequest
- All Implemented Interfaces:
jakarta.servlet.http.HttpServletRequest
,jakarta.servlet.ServletRequest
public class ProxyRequest
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
ConstructorDescriptionProxyRequest
(jakarta.servlet.http.HttpServletRequest req) ProxyRequest
(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpSession session) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getFiles()
getFormParam
(String name) getParameter
(String name) String[]
getParameterValues
(String name) getQSParameter
(String string) int
jakarta.servlet.http.HttpServletRequest
jakarta.servlet.http.HttpSession
jakarta.servlet.http.HttpSession
getSession
(boolean arg0) boolean
boolean
boolean
isPush()
boolean
isSecure()
void
removeParameter
(String name) void
setSession
(jakarta.servlet.http.HttpSession session) Methods inherited from class jakarta.servlet.http.HttpServletRequestWrapper
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getServletPath, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade
Methods inherited from class jakarta.servlet.ServletRequestWrapper
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getProtocolRequestId, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getRequestId, getScheme, getServerName, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, 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, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getProtocolRequestId, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getRequestId, getScheme, getServerName, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, removeAttribute, setAttribute, setCharacterEncoding, setCharacterEncoding, startAsync, startAsync
-
Constructor Details
-
ProxyRequest
-
ProxyRequest
-
-
Method Details
-
isParamsInBody
public boolean isParamsInBody() -
setSession
public void setSession(jakarta.servlet.http.HttpSession session) -
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
-
getParameter
-
removeParameter
-
getParameterMap
- Specified by:
getParameterMap
in interfacejakarta.servlet.ServletRequest
- Overrides:
getParameterMap
in classjakarta.servlet.ServletRequestWrapper
-
isMultiPart
public boolean isMultiPart() -
getParameterNames
- Specified by:
getParameterNames
in interfacejakarta.servlet.ServletRequest
- Overrides:
getParameterNames
in classjakarta.servlet.ServletRequestWrapper
-
getParameterValues
-
getFiles
-
getServletRequest
public jakarta.servlet.http.HttpServletRequest getServletRequest() -
isPush
public boolean isPush() -
getOrderedParameters
-
getQueryStringParams
-
copyQSParamsToFormParams
public void copyQSParamsToFormParams() -
getQSParameter
-
getFormParams
-
getFormParam
-
isSecure
public boolean isSecure()- Specified by:
isSecure
in interfacejakarta.servlet.ServletRequest
- Overrides:
isSecure
in classjakarta.servlet.ServletRequestWrapper
-
getServerPort
public int getServerPort()- Specified by:
getServerPort
in interfacejakarta.servlet.ServletRequest
- Overrides:
getServerPort
in classjakarta.servlet.ServletRequestWrapper
-
getRequestURL
- Specified by:
getRequestURL
in interfacejakarta.servlet.http.HttpServletRequest
- Overrides:
getRequestURL
in classjakarta.servlet.http.HttpServletRequestWrapper
-
getUrlProtocol
-