Package org.apache.shiro.web.filter.mgt
Interface NamedFilterList
-
- All Known Implementing Classes:
SimpleNamedFilterList
public interface NamedFilterList extends List<Filter>
ANamedFilterList
is aList
ofFilter
instances that is uniquely identified by aname
. It has the ability to generate newFilterChain
instances reflecting this list's filter order via theproxy
method.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Returns the configuration-unique name assigned to thisFilter
list.FilterChain
proxy(FilterChain filterChain)
Returns a newFilterChain
instance that will first execute this list'sFilter
s (in list order) and end with the execution of the givenfilterChain
instance.-
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 thisFilter
list.- Returns:
- the configuration-unique name assigned to this
Filter
list.
-
proxy
FilterChain proxy(FilterChain filterChain)
Returns a newFilterChain
instance that will first execute this list'sFilter
s (in list order) and end with the execution of the givenfilterChain
instance.- Parameters:
filterChain
- theFilterChain
instance to execute after this list'sFilter
s have executed.- Returns:
- a new
FilterChain
instance that will first execute this list'sFilter
s (in list order) and end with the execution of the givenfilterChain
instance.
-
-