类 BodyReaderHttpServletRequestWrapper
- java.lang.Object
-
- javax.servlet.ServletRequestWrapper
-
- javax.servlet.http.HttpServletRequestWrapper
-
- tech.codingless.core.gateway.interceptor.BodyReaderHttpServletRequestWrapper
-
- 所有已实现的接口:
javax.servlet.http.HttpServletRequest,javax.servlet.ServletRequest
public class BodyReaderHttpServletRequestWrapper extends javax.servlet.http.HttpServletRequestWrapper
-
-
构造器概要
构造器 构造器 说明 BodyReaderHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 javax.servlet.ServletInputStreamgetInputStream()BufferedReadergetReader()StringgetRequestBody()-
从类继承的方法 javax.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
-
从类继承的方法 javax.servlet.ServletRequestWrapper
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, 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
-
从接口继承的方法 javax.servlet.ServletRequest
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
-
-
-
-
方法详细资料
-
getRequestBody
public String getRequestBody()
-
getReader
public BufferedReader getReader() throws IOException
- 指定者:
getReader在接口中javax.servlet.ServletRequest- 覆盖:
getReader在类中javax.servlet.ServletRequestWrapper- 抛出:
IOException
-
getInputStream
public javax.servlet.ServletInputStream getInputStream() throws IOException- 指定者:
getInputStream在接口中javax.servlet.ServletRequest- 覆盖:
getInputStream在类中javax.servlet.ServletRequestWrapper- 抛出:
IOException
-
-