类 LogInterfaceWrapper

java.lang.Object
jakarta.servlet.ServletRequestWrapper
jakarta.servlet.http.HttpServletRequestWrapper
com.sie.mbm.mom.framework.apilog.step.interfacehttp.LogInterfaceWrapper
所有已实现的接口:
jakarta.servlet.http.HttpServletRequest, jakarta.servlet.ServletRequest

public class LogInterfaceWrapper extends jakarta.servlet.http.HttpServletRequestWrapper
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    private static class 
     
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    private byte[]
     

    从接口继承的字段 jakarta.servlet.http.HttpServletRequest

    BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
  • 构造器概要

    构造器
    构造器
    说明
    LogInterfaceWrapper(jakarta.servlet.http.HttpServletRequest request)
     
  • 方法概要

    修饰符和类型
    方法
    说明
     
    byte[]
     
    jakarta.servlet.ServletInputStream
     
     

    从类继承的方法 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, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade

    从类继承的方法 jakarta.servlet.ServletRequestWrapper

    getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getProtocolRequestId, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getRequestId, getScheme, getServerName, getServerPort, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setCharacterEncoding, setRequest, startAsync, startAsync

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 jakarta.servlet.ServletRequest

    getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getProtocolRequestId, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getRequestId, getScheme, getServerName, getServerPort, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setCharacterEncoding, startAsync, startAsync
  • 字段详细资料

    • cachedBody

      private byte[] cachedBody
  • 构造器详细资料

    • LogInterfaceWrapper

      public LogInterfaceWrapper(jakarta.servlet.http.HttpServletRequest request) throws IOException
      抛出:
      IOException
  • 方法详细资料

    • getByteArrayBody

      public byte[] getByteArrayBody()
    • getInputStream

      public jakarta.servlet.ServletInputStream getInputStream() throws IOException
      指定者:
      getInputStream 在接口中 jakarta.servlet.ServletRequest
      覆盖:
      getInputStream 在类中 jakarta.servlet.ServletRequestWrapper
      抛出:
      IOException
    • getReader

      public BufferedReader getReader() throws IOException
      指定者:
      getReader 在接口中 jakarta.servlet.ServletRequest
      覆盖:
      getReader 在类中 jakarta.servlet.ServletRequestWrapper
      抛出:
      IOException
    • getAllParams

      public Map<String,String[]> getAllParams()