org.apache.myfaces.orchestra.requestParameterProvider
Class RequestParameterServletFilter

java.lang.Object
  extended by org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterServletFilter

public class RequestParameterServletFilter
extends java.lang.Object

This filter wraps each HttpServletResponse in a RequestParameterResponseWrapper, meaning that every call to response.encodeURL() gets forwarded to the RequestParameterProviderManager.


Field Summary
static java.lang.String REQUEST_PARAM_FILTER_CALLED
           
static java.lang.String REQUEST_PARAM_RESPONSE_WRAPPED
           
 
Constructor Summary
RequestParameterServletFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain)
           
 void init(FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST_PARAM_FILTER_CALLED

public static final java.lang.String REQUEST_PARAM_FILTER_CALLED

REQUEST_PARAM_RESPONSE_WRAPPED

public static final java.lang.String REQUEST_PARAM_RESPONSE_WRAPPED
Constructor Detail

RequestParameterServletFilter

public RequestParameterServletFilter()
Method Detail

init

public void init(FilterConfig filterConfig)

doFilter

public void doFilter(ServletRequest servletRequest,
                     ServletResponse servletResponse,
                     FilterChain filterChain)
              throws java.io.IOException,
                     ServletException
Throws:
java.io.IOException
ServletException

destroy

public void destroy()


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.