org.apache.shiro.web.filter.mgt
Interface NamedFilterList

All Superinterfaces:
Collection<Filter>, Iterable<Filter>, List<Filter>
All Known Implementing Classes:
SimpleNamedFilterList

public interface NamedFilterList
extends List<Filter>

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
 String getName()
          Returns the configuration-unique name assigned to this Filter list.
 FilterChain proxy(FilterChain filterChain)
          Returns a new FilterChain instance that will first execute this list's Filters (in list order) and end with the execution of the given filterChain instance.
 
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, retainAll, set, size, subList, toArray, toArray
 

Method Detail

getName

String getName()
Returns the configuration-unique name assigned to this Filter list.

Returns:
the configuration-unique name assigned to this Filter list.

proxy

FilterChain proxy(FilterChain filterChain)
Returns a new FilterChain instance that will first execute this list's Filters (in list order) and end with the execution of the given filterChain instance.

Parameters:
filterChain - the FilterChain instance to execute after this list's Filters have executed.
Returns:
a new FilterChain instance that will first execute this list's Filters (in list order) and end with the execution of the given filterChain instance.


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.