public class FilterChainProcessorSelector extends Object implements ProcessorSelector
ProcessorSelector| Modifier and Type | Field and Description |
|---|---|
protected FilterChainBuilder |
builder
FilterChainBuilder, responsible for creating FilterChain instances |
| Constructor and Description |
|---|
FilterChainProcessorSelector(FilterChainBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
Processor |
select(IOEvent ioEvent,
Connection connection)
Returns
FilterChain instance, if it's interested in processing passed IOEvent, or null
otherwise. |
protected final FilterChainBuilder builder
FilterChainBuilder, responsible for creating FilterChain instancespublic FilterChainProcessorSelector(FilterChainBuilder builder)
public Processor select(IOEvent ioEvent, Connection connection)
FilterChain instance, if it's interested in processing passed IOEvent, or null
otherwise.select in interface ProcessorSelectorioEvent - IOEvent to process.connection - Connection, where IOEvent occured.FilterChain instance, if it's interested in processing passed IOEvent, or null
otherwise.Copyright © 2017–2020 Oracle Corporation. All rights reserved.