public class HttpServletRequestHeaderWrapper
extends javax.servlet.http.HttpServletRequestWrapper
| 构造器和说明 |
|---|
HttpServletRequestHeaderWrapper(javax.servlet.http.HttpServletRequest request)
Constructs a request object wrapping the given request.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addHeader(String key,
String val) |
String |
getHeader(String name) |
Enumeration<String> |
getHeaderNames() |
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, 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, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, 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, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncpublic HttpServletRequestHeaderWrapper(javax.servlet.http.HttpServletRequest request)
request - The request to wrapIllegalArgumentException - if the request is nullpublic Enumeration<String> getHeaderNames()
getHeaderNames 在接口中 javax.servlet.http.HttpServletRequestgetHeaderNames 在类中 javax.servlet.http.HttpServletRequestWrapperCopyright © 2021 HappyCoding. All rights reserved.