public class HttpServletRequestWrapper extends HttpServletRequestWrapper implements HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
Constructor and Description |
---|
HttpServletRequestWrapper(HttpServletRequest request)
Constructs a request object wrapping the given request.
|
Modifier and Type | Method and Description |
---|---|
Mapping |
getMapping()
The default behavior of this method is to return
HttpServletRequest.getMapping() on the wrapped request object. |
PushBuilder |
getPushBuilder()
Obtain a builder for generating push requests.
|
boolean |
isPushSupported()
Does the current request allow push requests.
|
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgrade
getAsyncContext, 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, startAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgrade
getAsyncContext, 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, startAsync
public HttpServletRequestWrapper(HttpServletRequest request)
request
- The request to wrapIllegalArgumentException
- if the request is nullpublic Mapping getMapping()
The default behavior of this method is to return
HttpServletRequest.getMapping()
on the wrapped request object.
public boolean isPushSupported()
true
only if the underlying protocol supports server push and if pushes
are permitted from the current request.
The default behavior of this method is to return
HttpServletRequest.isPushSupported()
on the wrapped request object.
true
if server push is supported for the current request
otherwise false
public PushBuilder getPushBuilder()
PushBuilder
documents how this request will be used as the basis for a push request.
Each call to this method will return a new instance, independent of any
previous instance obtained.
The default behavior of this method is to return
HttpServletRequest.getPushBuilder()
on the wrapped request object.
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.