public class DecoraRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper
HttpServletRequestWrapper
allows filtering of the HTTP headers.Constructor and Description |
---|
DecoraRequestWrapper(javax.servlet.http.HttpServletRequest httpServletRequest) |
Modifier and Type | Method and Description |
---|---|
long |
getDateHeader(java.lang.String header)
Returns
-1 for excluded HTTP headers. |
java.lang.String |
getHeader(java.lang.String header)
Returns
null for excluded HTTP headers. |
protected boolean |
isExcluded(java.lang.String header)
Checks if header name is excluded.
|
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, 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
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 DecoraRequestWrapper(javax.servlet.http.HttpServletRequest httpServletRequest)
public java.lang.String getHeader(java.lang.String header)
null
for excluded HTTP headers.getHeader
in interface javax.servlet.http.HttpServletRequest
getHeader
in class javax.servlet.http.HttpServletRequestWrapper
public long getDateHeader(java.lang.String header)
-1
for excluded HTTP headers.getDateHeader
in interface javax.servlet.http.HttpServletRequest
getDateHeader
in class javax.servlet.http.HttpServletRequestWrapper
protected boolean isExcluded(java.lang.String header)
Copyright © 2003-present Jodd Team