com.opensymphony.webwork.dispatcher
Class FilterDispatcher
java.lang.Object
com.opensymphony.webwork.dispatcher.FilterDispatcher
- All Implemented Interfaces:
- Filter, WebWorkStatics
- public class FilterDispatcher
- extends Object
- implements Filter, WebWorkStatics
- Author:
- Jason Carreira
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterDispatcher
public FilterDispatcher()
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.