com.opensymphony.webwork.dispatcher
Class FilterDispatcher

java.lang.Object
  extended bycom.opensymphony.webwork.dispatcher.FilterDispatcher
All Implemented Interfaces:
Filter, WebWorkStatics

public class FilterDispatcher
extends Object
implements Filter, WebWorkStatics

Author:
Jason Carreira

Field Summary
 
Fields inherited from interface com.opensymphony.webwork.WebWorkStatics
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERLVET_DISPATCHER, SERVLET_CONFIG, SERVLET_DISPATCHER
 
Constructor Summary
FilterDispatcher()
           
 
Method Summary
 void destroy()
          Does nothing.
 void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain)
           
 FilterConfig getFilterConfig()
          Returns the filter config object.
 void init(FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterDispatcher

public FilterDispatcher()
Method Detail

getFilterConfig

public FilterConfig getFilterConfig()
Returns the filter config object.

Returns:
the filter config object.

destroy

public void destroy()
Does nothing.

Specified by:
destroy in interface Filter

doFilter

public void doFilter(ServletRequest servletRequest,
                     ServletResponse servletResponse,
                     FilterChain filterChain)
              throws IOException,
                     ServletException
Specified by:
doFilter in interface Filter
Parameters:
servletRequest - the servlet request.
servletResponse - the servlet response.
filterChain - the filter chain.
Throws:
IOException - if an error occurs when executing the filter.
ServletException - if an error occurs when executing the filter.

init

public void init(FilterConfig filterConfig)
          throws ServletException
Specified by:
init in interface Filter
Parameters:
filterConfig - the filter configuration.
Throws:
ServletException - if an error occurs when initializing this filter.

WebWork Project Page