public class BodyHttpServletRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
| 构造器和说明 |
|---|
BodyHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request,
String body)
构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCharacterEncoding() |
javax.servlet.ServletInputStream |
getInputStream() |
BufferedReader |
getReader() |
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, upgradegetAsyncContext, getAttribute, getAttributeNames, 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, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, getAttribute, getAttributeNames, 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, startAsyncpublic BodyHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request,
String body)
request - 请求body - body参数字符串public javax.servlet.ServletInputStream getInputStream()
throws IOException
getInputStream 在接口中 javax.servlet.ServletRequestgetInputStream 在类中 javax.servlet.ServletRequestWrapperIOExceptionpublic String getCharacterEncoding()
getCharacterEncoding 在接口中 javax.servlet.ServletRequestgetCharacterEncoding 在类中 javax.servlet.ServletRequestWrapperpublic BufferedReader getReader() throws IOException
getReader 在接口中 javax.servlet.ServletRequestgetReader 在类中 javax.servlet.ServletRequestWrapperIOExceptionCopyright © 2021 EasyJ寮�婧愮ぞ鍖�. All rights reserved.