public class MockFilterChain extends Object implements FilterChain
| Constructor and Description |
|---|
MockFilterChain() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(Filter filter)
Adds a filter to the set of filters to be run.
|
void |
addFilters(Collection<Filter> filters)
Adds an ordered list of filters to the filter chain.
|
void |
doFilter(ServletRequest request,
ServletResponse response)
Used to coordinate the execution of the filters.
|
void |
setServlet(Servlet servlet)
Sets the servlet that will receive the request after all filters are processed.
|
public void addFilter(Filter filter)
public void addFilters(Collection<Filter> filters)
public void setServlet(Servlet servlet)
public void doFilter(ServletRequest request, ServletResponse response) throws IOException, ServletException
doFilter in interface FilterChainIOExceptionServletException© Copyright 2005-2006, Stripes Development Team.