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
FilterChain
facade, which implements all the List
related methods.- Author:
- Alexey Stashok
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionThe list of Filters this chain will invoke.Fields inherited from class org.glassfish.grizzly.filterchain.AbstractFilterChain
interestedIoEventsMask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, Collection<? extends Filter> c) boolean
addAll
(Collection<? extends Filter> c) void
clear()
boolean
boolean
containsAll
(Collection<?> c) final Filter
get
(int index) int
boolean
isEmpty()
iterator()
int
lastIndexOf
(Object filter) listIterator
(int index) protected void
notifyChangedExcept
(Filter filter) remove
(int index) boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) int
size()
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
-
Field Details
-
filters
The list of Filters this chain will invoke.
-
-
Constructor Details
-
ListFacadeFilterChain
-
-
Method Details
-
add
-
add
-
addAll
-
addAll
-
set
-
get
-
indexOf
-
lastIndexOf
-
contains
-
containsAll
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
retainAll
-
remove
-
remove
-
removeAll
-
isEmpty
public boolean isEmpty() -
size
public int size() -
clear
public void clear() -
iterator
-
listIterator
-
listIterator
-
notifyChangedExcept
-