Package org.apache.shiro.web.filter.mgt
Interface NamedFilterList
-
- All Superinterfaces:
Collection<javax.servlet.Filter>,Iterable<javax.servlet.Filter>,List<javax.servlet.Filter>
- All Known Implementing Classes:
SimpleNamedFilterList
public interface NamedFilterList extends List<javax.servlet.Filter>
ANamedFilterListis aListofFilterinstances that is uniquely identified by aname. It has the ability to generate newFilterChaininstances reflecting this list's filter order via theproxymethod.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()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, toArray
-
Methods 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 Detail
-
getName
String getName()
Returns the configuration-unique name assigned to thisFilterlist.- Returns:
- the configuration-unique name assigned to this
Filterlist.
-
proxy
javax.servlet.FilterChain proxy(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.- 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.
-
-