|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.stripes.mock.MockFilterChain
public class MockFilterChain
Mock implementation of a filter chain that allows a number of filters to be called before finally invoking the servlet that is the target of the request.
| Constructor Summary | |
|---|---|
MockFilterChain()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockFilterChain()
| Method Detail |
|---|
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 FilterChainIOException
ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||