com.taggercat.filter
Class FlashScopeRequestWrapper
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
com.taggercat.filter.SimpleSecurityRequestWrapper
com.taggercat.filter.FlashScopeRequestWrapper
- All Implemented Interfaces:
- javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest
public class FlashScopeRequestWrapper
- extends SimpleSecurityRequestWrapper
This class is used to wrap the current request as a flash scope wrapper.
It is used to make the GET request of a POST-REDIRECT-GET pattern appear to be
in the same state as that of the original POST request.
-
| Fields inherited from interface javax.servlet.http.HttpServletRequest |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
| Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid |
| Methods inherited from class javax.servlet.ServletRequestWrapper |
getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, setCharacterEncoding, setRequest |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.ServletRequest |
getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, setCharacterEncoding |
FlashScopeRequestWrapper
public FlashScopeRequestWrapper(javax.servlet.http.HttpServletRequest request,
FlashScope flashScope)
throws java.io.IOException
- Throws:
java.io.IOException
getParameterNames
public java.util.Enumeration<java.lang.String> getParameterNames()
- Specified by:
getParameterNames in interface javax.servlet.ServletRequest- Overrides:
getParameterNames in class javax.servlet.ServletRequestWrapper
getParameter
public java.lang.String getParameter(java.lang.String name)
- Specified by:
getParameter in interface javax.servlet.ServletRequest- Overrides:
getParameter in class javax.servlet.ServletRequestWrapper
getParameterValues
public java.lang.String[] getParameterValues(java.lang.String name)
- Specified by:
getParameterValues in interface javax.servlet.ServletRequest- Overrides:
getParameterValues in class javax.servlet.ServletRequestWrapper
getParameterMap
public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
- Specified by:
getParameterMap in interface javax.servlet.ServletRequest- Overrides:
getParameterMap in class javax.servlet.ServletRequestWrapper
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute in interface javax.servlet.ServletRequest- Overrides:
getAttribute in class javax.servlet.ServletRequestWrapper
getAttributeNames
public java.util.Enumeration<java.lang.String> getAttributeNames()
- Specified by:
getAttributeNames in interface javax.servlet.ServletRequest- Overrides:
getAttributeNames in class javax.servlet.ServletRequestWrapper
removeAttribute
public void removeAttribute(java.lang.String name)
- Specified by:
removeAttribute in interface javax.servlet.ServletRequest- Overrides:
removeAttribute in class javax.servlet.ServletRequestWrapper
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object obj)
- Specified by:
setAttribute in interface javax.servlet.ServletRequest- Overrides:
setAttribute in class javax.servlet.ServletRequestWrapper