Class FilterChainProcessorSelector
- java.lang.Object
-
- org.glassfish.grizzly.filterchain.FilterChainProcessorSelector
-
- All Implemented Interfaces:
ProcessorSelector
public class FilterChainProcessorSelector extends Object implements ProcessorSelector
- Author:
- Alexey Stashok
- See Also:
ProcessorSelector
-
-
Field Summary
Fields Modifier and Type Field Description protected FilterChainBuilderbuilderFilterChainBuilder, responsible for creatingFilterChaininstances
-
Constructor Summary
Constructors Constructor Description FilterChainProcessorSelector(FilterChainBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Processorselect(IOEvent ioEvent, Connection connection)ReturnsFilterChaininstance, if it's interested in processing passedIOEvent, or null otherwise.
-
-
-
Field Detail
-
builder
protected final FilterChainBuilder builder
FilterChainBuilder, responsible for creatingFilterChaininstances
-
-
Constructor Detail
-
FilterChainProcessorSelector
public FilterChainProcessorSelector(FilterChainBuilder builder)
-
-
Method Detail
-
select
public Processor select(IOEvent ioEvent, Connection connection)
ReturnsFilterChaininstance, if it's interested in processing passedIOEvent, or null otherwise.- Specified by:
selectin interfaceProcessorSelector- Parameters:
ioEvent-IOEventto process.connection-Connection, whereIOEventoccured.- Returns:
FilterChaininstance, if it's interested in processing passedIOEvent, or null otherwise.
-
-