Class LoggingHttpServletRequestWrapper

  • All Implemented Interfaces:
    jakarta.servlet.http.HttpServletRequest, jakarta.servlet.ServletRequest

    public class LoggingHttpServletRequestWrapper
    extends jakarta.servlet.http.HttpServletRequestWrapper
    • Field Summary

      • Fields inherited from interface jakarta.servlet.http.HttpServletRequest

        BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getContent()  
      jakarta.servlet.ServletInputStream getInputStream()  
      String getParameter​(String sName)  
      Map<String,​String[]> getParameterMap()  
      Enumeration<String> getParameterNames()  
      com.helger.commons.collection.impl.ICommonsMap<String,​String> getParameters()  
      String[] getParameterValues​(String sName)  
      BufferedReader getReader()  
      boolean isFormPost()  
      • 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, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade
      • Methods inherited from class jakarta.servlet.ServletRequestWrapper

        getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
      • Methods inherited from interface jakarta.servlet.ServletRequest

        getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
    • Constructor Detail

      • LoggingHttpServletRequestWrapper

        public LoggingHttpServletRequestWrapper​(@Nonnull
                                                jakarta.servlet.http.HttpServletRequest aRequest)
    • Method Detail

      • getInputStream

        public jakarta.servlet.ServletInputStream getInputStream()
                                                          throws IOException
        Specified by:
        getInputStream in interface jakarta.servlet.ServletRequest
        Overrides:
        getInputStream in class jakarta.servlet.ServletRequestWrapper
        Throws:
        IOException
      • getReader

        public BufferedReader getReader()
                                 throws IOException
        Specified by:
        getReader in interface jakarta.servlet.ServletRequest
        Overrides:
        getReader in class jakarta.servlet.ServletRequestWrapper
        Throws:
        IOException
      • getParameter

        @Nullable
        public String getParameter​(@Nullable
                                   String sName)
        Specified by:
        getParameter in interface jakarta.servlet.ServletRequest
        Overrides:
        getParameter in class jakarta.servlet.ServletRequestWrapper
      • getParameterMap

        @Nonnull
        public Map<String,​String[]> getParameterMap()
        Specified by:
        getParameterMap in interface jakarta.servlet.ServletRequest
        Overrides:
        getParameterMap in class jakarta.servlet.ServletRequestWrapper
      • getParameterNames

        @Nonnull
        public Enumeration<String> getParameterNames()
        Specified by:
        getParameterNames in interface jakarta.servlet.ServletRequest
        Overrides:
        getParameterNames in class jakarta.servlet.ServletRequestWrapper
      • getParameterValues

        @Nullable
        public String[] getParameterValues​(@Nullable
                                           String sName)
        Specified by:
        getParameterValues in interface jakarta.servlet.ServletRequest
        Overrides:
        getParameterValues in class jakarta.servlet.ServletRequestWrapper
      • getParameters

        @Nonnull
        @ReturnsMutableCopy
        public com.helger.commons.collection.impl.ICommonsMap<String,​String> getParameters()
      • isFormPost

        public boolean isFormPost()