protected class SSLBaseFilter.SSLTransportFilterWrapper extends TransportFilter
TransportFilter.FlushEvent
Modifier and Type | Field and Description |
---|---|
protected TransportFilter |
wrappedFilter |
Constructor and Description |
---|
SSLTransportFilterWrapper(TransportFilter transportFilter) |
Modifier and Type | Method and Description |
---|---|
FilterChainContext |
createContext(Connection connection,
FilterChainContext.Operation operation) |
void |
exceptionOccurred(FilterChainContext ctx,
Throwable error)
Notification about exception, occurred on the
FilterChain |
NextAction |
handleAccept(FilterChainContext ctx)
Delegates accept operation to
Transport 's specific transport
filter. |
NextAction |
handleClose(FilterChainContext ctx)
Delegates close operation to
Transport 's specific transport
filter. |
NextAction |
handleConnect(FilterChainContext ctx)
Delegates connect operation to
Transport 's specific transport
filter. |
NextAction |
handleEvent(FilterChainContext ctx,
FilterChainEvent event)
Delegates event operation to
Transport 's specific transport
filter. |
NextAction |
handleRead(FilterChainContext ctx)
Delegates reading operation to
Transport 's specific transport
filter. |
NextAction |
handleWrite(FilterChainContext ctx)
Delegates writing operation to
Transport 's specific transport
filter. |
void |
onAdded(FilterChain filterChain)
Method is called, when the Filter has been added to the
passed
FilterChain . |
void |
onFilterChainChanged(FilterChain filterChain)
Method is called, when the
FilterChain this Filter is part of,
has been changed. |
void |
onRemoved(FilterChain filterChain)
Method is called, when the Filter has been removed from the
passed
FilterChain . |
createFlushEvent, createFlushEvent, getTransportFilter0
protected final TransportFilter wrappedFilter
public SSLTransportFilterWrapper(TransportFilter transportFilter)
public NextAction handleAccept(FilterChainContext ctx) throws IOException
TransportFilter
Transport
's specific transport
filter.handleAccept
in interface Filter
handleAccept
in class TransportFilter
ctx
- FilterChainContext
NextAction
instruction for FilterChain
, how it
should continue the executionIOException
public NextAction handleConnect(FilterChainContext ctx) throws IOException
TransportFilter
Transport
's specific transport
filter.handleConnect
in interface Filter
handleConnect
in class TransportFilter
ctx
- FilterChainContext
NextAction
instruction for FilterChain
, how it
should continue the executionIOException
public NextAction handleRead(FilterChainContext ctx) throws IOException
TransportFilter
Transport
's specific transport
filter.handleRead
in interface Filter
handleRead
in class TransportFilter
ctx
- FilterChainContext
NextAction
instruction for FilterChain
, how it
should continue the executionIOException
public NextAction handleWrite(FilterChainContext ctx) throws IOException
TransportFilter
Transport
's specific transport
filter.handleWrite
in interface Filter
handleWrite
in class TransportFilter
ctx
- FilterChainContext
NextAction
instruction for FilterChain
, how it
should continue the executionIOException
public NextAction handleEvent(FilterChainContext ctx, FilterChainEvent event) throws IOException
TransportFilter
Transport
's specific transport
filter.handleEvent
in interface Filter
handleEvent
in class TransportFilter
ctx
- FilterChainContext
NextAction
instruction for FilterChain
, how it
should continue the executionIOException
public NextAction handleClose(FilterChainContext ctx) throws IOException
TransportFilter
Transport
's specific transport
filter.handleClose
in interface Filter
handleClose
in class TransportFilter
ctx
- FilterChainContext
NextAction
instruction for FilterChain
, how it
should continue the executionIOException
public void onAdded(FilterChain filterChain)
BaseFilter
FilterChain
.onAdded
in interface Filter
onAdded
in class BaseFilter
filterChain
- the FilterChain
this Filter was added to.public void onFilterChainChanged(FilterChain filterChain)
BaseFilter
FilterChain
this Filter is part of,
has been changed.onFilterChainChanged
in interface Filter
onFilterChainChanged
in class BaseFilter
filterChain
- the FilterChain
.public void onRemoved(FilterChain filterChain)
BaseFilter
FilterChain
.onRemoved
in interface Filter
onRemoved
in class BaseFilter
filterChain
- the FilterChain
this Filter was removed from.public void exceptionOccurred(FilterChainContext ctx, Throwable error)
BaseFilter
FilterChain
exceptionOccurred
in interface Filter
exceptionOccurred
in class BaseFilter
ctx
- event processing FilterChainContext
error
- error, which occurred during FilterChain executionpublic FilterChainContext createContext(Connection connection, FilterChainContext.Operation operation)
createContext
in class BaseFilter
Copyright © 2015 Oracle Corporation. All rights reserved.