- java.lang.Object
-
- jakarta.servlet.ServletRequestWrapper
-
- jakarta.servlet.http.HttpServletRequestWrapper
-
- org.omnifaces.filter.MutableRequestFilter.MutableRequest
-
- All Implemented Interfaces:
HttpServletRequest
,ServletRequest
- Enclosing class:
- MutableRequestFilter
public static class MutableRequestFilter.MutableRequest extends HttpServletRequestWrapper
- Since:
- 3.14
- Author:
- Bauke Scholtz
- See Also:
MutableRequestFilter
,HttpServletRequestWrapper
-
-
Field Summary
-
Fields inherited from interface jakarta.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
-
-
Constructor Summary
Constructors Constructor Description MutableRequest(HttpServletRequest wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDateHeader(String name)
String
getHeader(String name)
Enumeration<String>
getHeaderNames()
Enumeration<String>
getHeaders(String name)
int
getIntHeader(String name)
Map<String,List<String>>
getMutableHeaderMap()
Returns the mutable header map of the current request.Map<String,List<String>>
getMutableParameterMap()
Returns the mutable parameter map of the current request.String
getParameter(String name)
Map<String,String[]>
getParameterMap()
Enumeration<String>
getParameterNames()
String[]
getParameterValues(String name)
-
Methods inherited from class jakarta.servlet.http.HttpServletRequestWrapper
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getHttpServletMapping, 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
-
Methods inherited from class jakarta.servlet.ServletRequestWrapper
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jakarta.servlet.ServletRequest
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
-
-
-
-
Constructor Detail
-
MutableRequest
public MutableRequest(HttpServletRequest wrapped)
-
-
Method Detail
-
getMutableHeaderMap
public Map<String,List<String>> getMutableHeaderMap()
Returns the mutable header map of the current request.- Returns:
- The mutable header map of the current request.
-
getHeader
public String getHeader(String name)
- Specified by:
getHeader
in interfaceHttpServletRequest
- Overrides:
getHeader
in classHttpServletRequestWrapper
-
getHeaderNames
public Enumeration<String> getHeaderNames()
- Specified by:
getHeaderNames
in interfaceHttpServletRequest
- Overrides:
getHeaderNames
in classHttpServletRequestWrapper
-
getHeaders
public Enumeration<String> getHeaders(String name)
- Specified by:
getHeaders
in interfaceHttpServletRequest
- Overrides:
getHeaders
in classHttpServletRequestWrapper
-
getDateHeader
public long getDateHeader(String name)
- Specified by:
getDateHeader
in interfaceHttpServletRequest
- Overrides:
getDateHeader
in classHttpServletRequestWrapper
-
getIntHeader
public int getIntHeader(String name)
- Specified by:
getIntHeader
in interfaceHttpServletRequest
- Overrides:
getIntHeader
in classHttpServletRequestWrapper
-
getMutableParameterMap
public Map<String,List<String>> getMutableParameterMap()
Returns the mutable parameter map of the current request.- Returns:
- The mutable parameter map of the current request.
-
getParameter
public String getParameter(String name)
- Specified by:
getParameter
in interfaceServletRequest
- Overrides:
getParameter
in classServletRequestWrapper
-
getParameterMap
public Map<String,String[]> getParameterMap()
- Specified by:
getParameterMap
in interfaceServletRequest
- Overrides:
getParameterMap
in classServletRequestWrapper
-
getParameterNames
public Enumeration<String> getParameterNames()
- Specified by:
getParameterNames
in interfaceServletRequest
- Overrides:
getParameterNames
in classServletRequestWrapper
-
getParameterValues
public String[] getParameterValues(String name)
- Specified by:
getParameterValues
in interfaceServletRequest
- Overrides:
getParameterValues
in classServletRequestWrapper
-
-