|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shiro.web.filter.mgt.SimpleNamedFilterList
public class SimpleNamedFilterList
Simple NamedFilterList implementation that is supported by a backing List instance and a simple
name property. All List method implementations are immediately delegated to the
wrapped backing list.
| Constructor Summary | |
|---|---|
SimpleNamedFilterList(String name)
Creates a new SimpleNamedFilterList instance with the specified name, defaulting to a new
ArrayList instance as the backing list. |
|
SimpleNamedFilterList(String name,
List<javax.servlet.Filter> backingList)
Creates a new SimpleNamedFilterList instance with the specified name and backingList. |
|
| Method Summary | ||
|---|---|---|
boolean |
add(javax.servlet.Filter filter)
|
|
void |
add(int index,
javax.servlet.Filter filter)
|
|
boolean |
addAll(Collection<? extends javax.servlet.Filter> c)
|
|
boolean |
addAll(int index,
Collection<? extends javax.servlet.Filter> c)
|
|
void |
clear()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
javax.servlet.Filter |
get(int index)
|
|
String |
getName()
Returns the configuration-unique name assigned to this Filter list. |
|
int |
indexOf(Object o)
|
|
boolean |
isEmpty()
|
|
Iterator<javax.servlet.Filter> |
iterator()
|
|
int |
lastIndexOf(Object o)
|
|
ListIterator<javax.servlet.Filter> |
listIterator()
|
|
ListIterator<javax.servlet.Filter> |
listIterator(int index)
|
|
javax.servlet.FilterChain |
proxy(javax.servlet.FilterChain orig)
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. |
|
javax.servlet.Filter |
remove(int index)
|
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
javax.servlet.Filter |
set(int index,
javax.servlet.Filter filter)
|
|
protected void |
setName(String name)
|
|
int |
size()
|
|
List<javax.servlet.Filter> |
subList(int fromIndex,
int toIndex)
|
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public SimpleNamedFilterList(String name)
SimpleNamedFilterList instance with the specified name, defaulting to a new
ArrayList instance as the backing list.
name - the name to assign to this instance.
IllegalArgumentException - if name is null or empty.
public SimpleNamedFilterList(String name,
List<javax.servlet.Filter> backingList)
SimpleNamedFilterList instance with the specified name and backingList.
name - the name to assign to this instance.backingList - the list instance used to back all of this class's List method implementations.
IllegalArgumentException - if name is null or empty.
NullPointerException - if the backing list is null.| Method Detail |
|---|
protected void setName(String name)
public String getName()
NamedFilterListFilter list.
getName in interface NamedFilterListFilter list.public javax.servlet.FilterChain proxy(javax.servlet.FilterChain orig)
NamedFilterListFilterChain instance that will first execute this list's Filters (in list order)
and end with the execution of the given filterChain instance.
proxy in interface NamedFilterListorig - the FilterChain instance to execute after this list's Filters have executed.
FilterChain instance that will first execute this list's Filters (in list order)
and end with the execution of the given filterChain instance.public boolean add(javax.servlet.Filter filter)
add in interface Collection<javax.servlet.Filter>add in interface List<javax.servlet.Filter>
public void add(int index,
javax.servlet.Filter filter)
add in interface List<javax.servlet.Filter>public boolean addAll(Collection<? extends javax.servlet.Filter> c)
addAll in interface Collection<javax.servlet.Filter>addAll in interface List<javax.servlet.Filter>
public boolean addAll(int index,
Collection<? extends javax.servlet.Filter> c)
addAll in interface List<javax.servlet.Filter>public void clear()
clear in interface Collection<javax.servlet.Filter>clear in interface List<javax.servlet.Filter>public boolean contains(Object o)
contains in interface Collection<javax.servlet.Filter>contains in interface List<javax.servlet.Filter>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<javax.servlet.Filter>containsAll in interface List<javax.servlet.Filter>public javax.servlet.Filter get(int index)
get in interface List<javax.servlet.Filter>public int indexOf(Object o)
indexOf in interface List<javax.servlet.Filter>public boolean isEmpty()
isEmpty in interface Collection<javax.servlet.Filter>isEmpty in interface List<javax.servlet.Filter>public Iterator<javax.servlet.Filter> iterator()
iterator in interface Iterable<javax.servlet.Filter>iterator in interface Collection<javax.servlet.Filter>iterator in interface List<javax.servlet.Filter>public int lastIndexOf(Object o)
lastIndexOf in interface List<javax.servlet.Filter>public ListIterator<javax.servlet.Filter> listIterator()
listIterator in interface List<javax.servlet.Filter>public ListIterator<javax.servlet.Filter> listIterator(int index)
listIterator in interface List<javax.servlet.Filter>public javax.servlet.Filter remove(int index)
remove in interface List<javax.servlet.Filter>public boolean remove(Object o)
remove in interface Collection<javax.servlet.Filter>remove in interface List<javax.servlet.Filter>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<javax.servlet.Filter>removeAll in interface List<javax.servlet.Filter>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<javax.servlet.Filter>retainAll in interface List<javax.servlet.Filter>
public javax.servlet.Filter set(int index,
javax.servlet.Filter filter)
set in interface List<javax.servlet.Filter>public int size()
size in interface Collection<javax.servlet.Filter>size in interface List<javax.servlet.Filter>
public List<javax.servlet.Filter> subList(int fromIndex,
int toIndex)
subList in interface List<javax.servlet.Filter>public Object[] toArray()
toArray in interface Collection<javax.servlet.Filter>toArray in interface List<javax.servlet.Filter>public <T> T[] toArray(T[] a)
toArray in interface Collection<javax.servlet.Filter>toArray in interface List<javax.servlet.Filter>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||