Class Overview
This FilterChain passes control from the first Filter in an iterator to the last. When the last iterator
calls the chain.doFilter(request, response) method, the supplied "parent" chain has control returned to it.
Summary
Public Constructors |
|
IteratingFilterChain(Iterator<Filter> iterator, FilterChain chain)
Create a new IteratingFilterChain which iterates over the Filters in the supplied Iterator and then returns
control to the main FilterChain.
|
Public Methods |
void
|
doFilter(ServletRequest request, ServletResponse response)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
javax.servlet.FilterChain
void
|
doFilter(ServletRequest arg0, ServletResponse arg1)
|
|
Public Constructors
public
IteratingFilterChain
(Iterator<Filter> iterator, FilterChain chain)
Create a new IteratingFilterChain which iterates over the Filters in the supplied Iterator and then returns
control to the main FilterChain.
Parameters
iterator
| Iterator over the Filters to apply |
chain
| FilterChain to return control to after the last Filter in the iterator has called the
chain.doFilter(request, response) method.
|
Public Methods
public
void
doFilter
(ServletRequest request, ServletResponse response)