|
||||||||||
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<Filter> backingList)
Creates a new SimpleNamedFilterList instance with the specified name and backingList . |
Method Summary | ||
---|---|---|
boolean |
add(Filter filter)
|
|
void |
add(int index,
Filter filter)
|
|
boolean |
addAll(Collection<? extends Filter> c)
|
|
boolean |
addAll(int index,
Collection<? extends Filter> c)
|
|
void |
clear()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
Filter |
get(int index)
|
|
String |
getName()
Returns the configuration-unique name assigned to this Filter list. |
|
int |
indexOf(Object o)
|
|
boolean |
isEmpty()
|
|
Iterator<Filter> |
iterator()
|
|
int |
lastIndexOf(Object o)
|
|
ListIterator<Filter> |
listIterator()
|
|
ListIterator<Filter> |
listIterator(int index)
|
|
FilterChain |
proxy(FilterChain orig)
Returns a new FilterChain instance that will first execute this list's Filter s (in list order)
and end with the execution of the given filterChain instance. |
|
Filter |
remove(int index)
|
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
Filter |
set(int index,
Filter filter)
|
|
protected void |
setName(String name)
|
|
int |
size()
|
|
List<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<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()
NamedFilterList
Filter
list.
getName
in interface NamedFilterList
Filter
list.public FilterChain proxy(FilterChain orig)
NamedFilterList
FilterChain
instance that will first execute this list's Filter
s (in list order)
and end with the execution of the given filterChain
instance.
proxy
in interface NamedFilterList
orig
- the FilterChain
instance to execute after this list's Filter
s have executed.
FilterChain
instance that will first execute this list's Filter
s (in list order)
and end with the execution of the given filterChain
instance.public boolean add(Filter filter)
add
in interface Collection<Filter>
add
in interface List<Filter>
public void add(int index, Filter filter)
add
in interface List<Filter>
public boolean addAll(Collection<? extends Filter> c)
addAll
in interface Collection<Filter>
addAll
in interface List<Filter>
public boolean addAll(int index, Collection<? extends Filter> c)
addAll
in interface List<Filter>
public void clear()
clear
in interface Collection<Filter>
clear
in interface List<Filter>
public boolean contains(Object o)
contains
in interface Collection<Filter>
contains
in interface List<Filter>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<Filter>
containsAll
in interface List<Filter>
public Filter get(int index)
get
in interface List<Filter>
public int indexOf(Object o)
indexOf
in interface List<Filter>
public boolean isEmpty()
isEmpty
in interface Collection<Filter>
isEmpty
in interface List<Filter>
public Iterator<Filter> iterator()
iterator
in interface Iterable<Filter>
iterator
in interface Collection<Filter>
iterator
in interface List<Filter>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<Filter>
public ListIterator<Filter> listIterator()
listIterator
in interface List<Filter>
public ListIterator<Filter> listIterator(int index)
listIterator
in interface List<Filter>
public Filter remove(int index)
remove
in interface List<Filter>
public boolean remove(Object o)
remove
in interface Collection<Filter>
remove
in interface List<Filter>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<Filter>
removeAll
in interface List<Filter>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<Filter>
retainAll
in interface List<Filter>
public Filter set(int index, Filter filter)
set
in interface List<Filter>
public int size()
size
in interface Collection<Filter>
size
in interface List<Filter>
public List<Filter> subList(int fromIndex, int toIndex)
subList
in interface List<Filter>
public Object[] toArray()
toArray
in interface Collection<Filter>
toArray
in interface List<Filter>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<Filter>
toArray
in interface List<Filter>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |