|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.mock.web.PassThroughFilterChain
public class PassThroughFilterChain
Implementation of the FilterConfig interface which
simply passes the call through to a given Filter/FilterChain combo
(indicating the next Filter in the chain along with the FilterChain that it is
supposed to work on) or to a given Servlet (indicating the end of the chain).
Filter,
Servlet,
MockFilterChain| Constructor Summary | |
|---|---|
PassThroughFilterChain(Filter filter,
FilterChain nextFilterChain)
Create a new PassThroughFilterChain that delegates to the given Filter, calling it with the given FilterChain. |
|
PassThroughFilterChain(Servlet servlet)
Create a new PassThroughFilterChain that delegates to the given Servlet. |
|
| Method Summary | |
|---|---|
void |
doFilter(ServletRequest request,
ServletResponse response)
Pass the call on to the Filter/Servlet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PassThroughFilterChain(Filter filter,
FilterChain nextFilterChain)
filter - the Filter to delegate tonextFilterChain - the FilterChain to use for that next Filterpublic PassThroughFilterChain(Servlet servlet)
servlet - the Servlet to delegate to| Method Detail |
|---|
public void doFilter(ServletRequest request,
ServletResponse response)
throws ServletException,
IOException
doFilter in interface FilterChainServletException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||