Class ListFacadeFilterChain
- java.lang.Object
-
- org.glassfish.grizzly.filterchain.AbstractFilterChain
-
- org.glassfish.grizzly.filterchain.ListFacadeFilterChain
-
- All Implemented Interfaces:
java.lang.Iterable<Filter>,java.util.Collection<Filter>,java.util.List<Filter>,FilterChain,Processor<Context>
- Direct Known Subclasses:
DefaultFilterChain
public abstract class ListFacadeFilterChain extends AbstractFilterChain
FilterChainfacade, which implements all theListrelated methods.- Author:
- Alexey Stashok
- See Also:
FilterChain
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Filter>filtersThe list of Filters this chain will invoke.-
Fields inherited from class org.glassfish.grizzly.filterchain.AbstractFilterChain
interestedIoEventsMask
-
-
Constructor Summary
Constructors Constructor Description ListFacadeFilterChain(java.util.List<Filter> filtersImpl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, Filter filter)booleanadd(Filter filter)booleanaddAll(int index, java.util.Collection<? extends Filter> c)booleanaddAll(java.util.Collection<? extends Filter> c)voidclear()booleancontains(java.lang.Object filter)booleancontainsAll(java.util.Collection<?> c)Filterget(int index)intindexOf(java.lang.Object object)booleanisEmpty()java.util.Iterator<Filter>iterator()intlastIndexOf(java.lang.Object filter)java.util.ListIterator<Filter>listIterator()java.util.ListIterator<Filter>listIterator(int index)protected voidnotifyChangedExcept(Filter filter)Filterremove(int index)booleanremove(java.lang.Object object)booleanremoveAll(java.util.Collection<?> c)booleanretainAll(java.util.Collection<?> c)Filterset(int index, Filter filter)intsize()java.lang.Object[]toArray()<T> T[]toArray(T[] a)-
Methods inherited from class org.glassfish.grizzly.filterchain.AbstractFilterChain
finalize, indexOfType, isInterested, obtainContext, obtainFilterChainContext, obtainFilterChainContext, obtainFilterChainContext, obtainFilterChainContext, setInterested, toString
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.glassfish.grizzly.filterchain.FilterChain
execute, fail, fireEventDownstream, fireEventUpstream, flush, read
-
-
-
-
Field Detail
-
filters
protected final java.util.List<Filter> filters
The list of Filters this chain will invoke.
-
-
Constructor Detail
-
ListFacadeFilterChain
public ListFacadeFilterChain(java.util.List<Filter> filtersImpl)
-
-
Method Detail
-
add
public boolean add(Filter filter)
-
add
public void add(int index, Filter filter)
-
addAll
public boolean addAll(java.util.Collection<? extends Filter> c)
-
addAll
public boolean addAll(int index, java.util.Collection<? extends Filter> c)
-
get
public final Filter get(int index)
-
indexOf
public int indexOf(java.lang.Object object)
-
lastIndexOf
public int lastIndexOf(java.lang.Object filter)
-
contains
public boolean contains(java.lang.Object filter)
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
-
remove
public boolean remove(java.lang.Object object)
-
remove
public Filter remove(int index)
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
clear
public void clear()
-
iterator
public java.util.Iterator<Filter> iterator()
-
listIterator
public java.util.ListIterator<Filter> listIterator()
-
listIterator
public java.util.ListIterator<Filter> listIterator(int index)
-
notifyChangedExcept
protected void notifyChangedExcept(Filter filter)
-
-