类 ReuseHttpServletRequest
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
com.alibaba.nacos.core.utils.ReuseHttpServletRequest
- 所有已实现的接口:
ReuseHttpRequest,javax.servlet.http.HttpServletRequest,javax.servlet.ServletRequest
public class ReuseHttpServletRequest
extends javax.servlet.http.HttpServletRequestWrapper
implements ReuseHttpRequest
httprequest wrapper.
- 作者:
- liaochuntao
-
字段概要
从接口继承的字段 javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH -
构造器概要
构造器构造器说明ReuseHttpServletRequest(javax.servlet.http.HttpServletRequest request)Constructs a request object wrapping the given request. -
方法概要
修饰符和类型方法说明getBody()get request body.javax.servlet.ServletInputStreamgetParameter(String name)String[]getParameterValues(String name)从类继承的方法 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, getParameterNames, 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.http.HttpServletRequest
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从接口继承的方法 com.alibaba.nacos.core.utils.ReuseHttpRequest
toDuplication从接口继承的方法 javax.servlet.ServletRequest
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameterNames, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
-
构造器详细资料
-
ReuseHttpServletRequest
Constructs a request object wrapping the given request.- 参数:
request- The request to wrap- 抛出:
IllegalArgumentException- if the request is nullIOException
-
-
方法详细资料
-
getBody
从接口复制的说明:ReuseHttpRequestget request body.- 指定者:
getBody在接口中ReuseHttpRequest- 返回:
- object
- 抛出:
Exception- exception
-
getReader
- 指定者:
getReader在接口中javax.servlet.ServletRequest- 覆盖:
getReader在类中javax.servlet.ServletRequestWrapper- 抛出:
IOException
-
getParameterMap
- 指定者:
getParameterMap在接口中javax.servlet.ServletRequest- 覆盖:
getParameterMap在类中javax.servlet.ServletRequestWrapper
-
getParameter
- 指定者:
getParameter在接口中javax.servlet.ServletRequest- 覆盖:
getParameter在类中javax.servlet.ServletRequestWrapper
-
getParameterValues
- 指定者:
getParameterValues在接口中javax.servlet.ServletRequest- 覆盖:
getParameterValues在类中javax.servlet.ServletRequestWrapper
-
getInputStream
- 指定者:
getInputStream在接口中javax.servlet.ServletRequest- 覆盖:
getInputStream在类中javax.servlet.ServletRequestWrapper- 抛出:
IOException
-