类 RequestBodyCacheWrapper
java.lang.Object
jakarta.servlet.ServletRequestWrapper
jakarta.servlet.http.HttpServletRequestWrapper
cn.hamm.airpower.interceptor.cache.RequestBodyCacheWrapper
- 所有已实现的接口:
jakarta.servlet.http.HttpServletRequest,jakarta.servlet.ServletRequest
public class RequestBodyCacheWrapper
extends jakarta.servlet.http.HttpServletRequestWrapper
请求体缓存处理类
- 作者:
- Hamm.cn
-
字段概要
从接口继承的字段 jakarta.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明final @NotNull jakarta.servlet.ServletInputStream获取请求体输入流final @NotNull BufferedReader获取请求阅读器从类继承的方法 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, 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, startAsync, startAsync
-
构造器详细资料
-
RequestBodyCacheWrapper
构造方法
- 参数:
request- 请求- 抛出:
IOException
-
-
方法详细资料
-
getInputStream
@Contract(" -> new") @NotNull public final @NotNull jakarta.servlet.ServletInputStream getInputStream()获取请求体输入流
- 指定者:
getInputStream在接口中jakarta.servlet.ServletRequest- 覆盖:
getInputStream在类中jakarta.servlet.ServletRequestWrapper
-
getReader
获取请求阅读器
- 指定者:
getReader在接口中jakarta.servlet.ServletRequest- 覆盖:
getReader在类中jakarta.servlet.ServletRequestWrapper
-