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

    Constructors
    Constructor
    Description
    ProxyRequest(jakarta.servlet.http.HttpServletRequest req)
     
    ProxyRequest(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpSession session)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    HashMap<String,ArrayList<org.apache.commons.fileupload2.core.FileItem>>
     
     
     
     
     
     
     
     
     
     
     
    int
     
    jakarta.servlet.http.HttpServletRequest
     
    jakarta.servlet.http.HttpSession
     
    jakarta.servlet.http.HttpSession
    getSession(boolean arg0)
     
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    void
     
    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

      public ProxyRequest(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpSession session) throws Exception
      Throws:
      Exception
    • ProxyRequest

      public ProxyRequest(jakarta.servlet.http.HttpServletRequest req) throws Exception
      Throws:
      Exception
  • 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 interface jakarta.servlet.http.HttpServletRequest
      Overrides:
      getSession in class jakarta.servlet.http.HttpServletRequestWrapper
    • getSession

      public jakarta.servlet.http.HttpSession getSession(boolean arg0)
      Specified by:
      getSession in interface jakarta.servlet.http.HttpServletRequest
      Overrides:
      getSession in class jakarta.servlet.http.HttpServletRequestWrapper
    • getParameter

      public String getParameter(String name)
      Specified by:
      getParameter in interface jakarta.servlet.ServletRequest
      Overrides:
      getParameter in class jakarta.servlet.ServletRequestWrapper
    • removeParameter

      public void removeParameter(String name)
    • getParameterMap

      public Map getParameterMap()
      Specified by:
      getParameterMap in interface jakarta.servlet.ServletRequest
      Overrides:
      getParameterMap in class jakarta.servlet.ServletRequestWrapper
    • isMultiPart

      public boolean isMultiPart()
    • getParameterNames

      public Enumeration getParameterNames()
      Specified by:
      getParameterNames in interface jakarta.servlet.ServletRequest
      Overrides:
      getParameterNames in class jakarta.servlet.ServletRequestWrapper
    • getParameterValues

      public String[] getParameterValues(String name)
      Specified by:
      getParameterValues in interface jakarta.servlet.ServletRequest
      Overrides:
      getParameterValues in class jakarta.servlet.ServletRequestWrapper
    • getFiles

      public HashMap<String,ArrayList<org.apache.commons.fileupload2.core.FileItem>> getFiles()
    • getServletRequest

      public jakarta.servlet.http.HttpServletRequest getServletRequest()
    • isPush

      public boolean isPush()
    • getOrderedParameters

      public ArrayList<NVP> getOrderedParameters()
    • getQueryStringParams

      public List<NVP> getQueryStringParams()
    • copyQSParamsToFormParams

      public void copyQSParamsToFormParams()
    • getQSParameter

      public String getQSParameter(String string)
    • getFormParams

      public Set<String> getFormParams()
    • getFormParam

      public List<String> getFormParam(String name)
    • isSecure

      public boolean isSecure()
      Specified by:
      isSecure in interface jakarta.servlet.ServletRequest
      Overrides:
      isSecure in class jakarta.servlet.ServletRequestWrapper
    • getServerPort

      public int getServerPort()
      Specified by:
      getServerPort in interface jakarta.servlet.ServletRequest
      Overrides:
      getServerPort in class jakarta.servlet.ServletRequestWrapper
    • getRequestURL

      public StringBuffer getRequestURL()
      Specified by:
      getRequestURL in interface jakarta.servlet.http.HttpServletRequest
      Overrides:
      getRequestURL in class jakarta.servlet.http.HttpServletRequestWrapper
    • getUrlProtocol

      public String getUrlProtocol()