Class ListFacadeFilterChain
- java.lang.Object
-
- org.glassfish.grizzly.filterchain.AbstractFilterChain
-
- org.glassfish.grizzly.filterchain.ListFacadeFilterChain
-
- All Implemented Interfaces:
Iterable<Filter>,Collection<Filter>,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 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(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, Collection<? extends Filter> c)booleanaddAll(Collection<? extends Filter> c)voidclear()booleancontains(Object filter)booleancontainsAll(Collection<?> c)Filterget(int index)intindexOf(Object object)booleanisEmpty()Iterator<Filter>iterator()intlastIndexOf(Object filter)ListIterator<Filter>listIterator()ListIterator<Filter>listIterator(int index)protected voidnotifyChangedExcept(Filter filter)Filterremove(int index)booleanremove(Object object)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)Filterset(int index, Filter filter)intsize()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 java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface org.glassfish.grizzly.filterchain.FilterChain
execute, fail, fireEventDownstream, fireEventUpstream, flush, read
-
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator, subList
-
-
-
-
Method Detail
-
add
public boolean add(Filter filter)
-
add
public void add(int index, Filter filter)
-
addAll
public boolean addAll(Collection<? extends Filter> c)
-
addAll
public boolean addAll(int index, Collection<? extends Filter> c)
-
get
public final Filter get(int index)
-
indexOf
public int indexOf(Object object)
-
lastIndexOf
public int lastIndexOf(Object filter)
-
contains
public boolean contains(Object filter)
-
containsAll
public boolean containsAll(Collection<?> c)
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
retainAll
public boolean retainAll(Collection<?> c)
-
remove
public boolean remove(Object object)
-
remove
public Filter remove(int index)
-
removeAll
public boolean removeAll(Collection<?> c)
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
clear
public void clear()
-
listIterator
public ListIterator<Filter> listIterator()
-
listIterator
public ListIterator<Filter> listIterator(int index)
-
notifyChangedExcept
protected void notifyChangedExcept(Filter filter)
-
-