Package org.omnifaces.filter
Class MutableRequestFilter.MutableRequest
- 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 longgetDateHeader(String name)StringgetHeader(String name)Enumeration<String>getHeaderNames()Enumeration<String>getHeaders(String name)intgetIntHeader(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.StringgetParameter(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:
getHeaderin interfaceHttpServletRequest- Overrides:
getHeaderin classHttpServletRequestWrapper
-
getHeaderNames
public Enumeration<String> getHeaderNames()
- Specified by:
getHeaderNamesin interfaceHttpServletRequest- Overrides:
getHeaderNamesin classHttpServletRequestWrapper
-
getHeaders
public Enumeration<String> getHeaders(String name)
- Specified by:
getHeadersin interfaceHttpServletRequest- Overrides:
getHeadersin classHttpServletRequestWrapper
-
getDateHeader
public long getDateHeader(String name)
- Specified by:
getDateHeaderin interfaceHttpServletRequest- Overrides:
getDateHeaderin classHttpServletRequestWrapper
-
getIntHeader
public int getIntHeader(String name)
- Specified by:
getIntHeaderin interfaceHttpServletRequest- Overrides:
getIntHeaderin 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:
getParameterin interfaceServletRequest- Overrides:
getParameterin classServletRequestWrapper
-
getParameterMap
public Map<String,String[]> getParameterMap()
- Specified by:
getParameterMapin interfaceServletRequest- Overrides:
getParameterMapin classServletRequestWrapper
-
getParameterNames
public Enumeration<String> getParameterNames()
- Specified by:
getParameterNamesin interfaceServletRequest- Overrides:
getParameterNamesin classServletRequestWrapper
-
getParameterValues
public String[] getParameterValues(String name)
- Specified by:
getParameterValuesin interfaceServletRequest- Overrides:
getParameterValuesin classServletRequestWrapper
-
-