Interface NamedFilterList
- All Superinterfaces:
Collection<javax.servlet.Filter>,Iterable<javax.servlet.Filter>,List<javax.servlet.Filter>
- All Known Implementing Classes:
SimpleNamedFilterList
A
NamedFilterList is a List of Filter instances that is uniquely identified by a
name. It has the ability to generate new FilterChain instances reflecting this list's
filter order via the proxy method.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the configuration-unique name assigned to thisFilterlist.javax.servlet.FilterChainproxy(javax.servlet.FilterChain filterChain) Returns a newFilterChaininstance that will first execute this list'sFilters (in list order) and end with the execution of the givenfilterChaininstance.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Method Details
-
getName
-
proxy
Returns a newFilterChaininstance that will first execute this list'sFilters (in list order) and end with the execution of the givenfilterChaininstance.- Parameters:
filterChain- theFilterChaininstance to execute after this list'sFilters have executed.- Returns:
- a new
FilterChaininstance that will first execute this list'sFilters (in list order) and end with the execution of the givenfilterChaininstance.
-