Filter processing methods.
Filter
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FilterChainContext | |
| public void | exceptionOccurred(FilterChainContext
event processing ctx, Throwable FilterChainContexterror, which occurred during FilterChain execution error)Implements org. Notification about exception, occurred on the |
| public NextAction | handleAccept(FilterChainContext ctx)
Implements org. Execute a unit of processing work to be performed, when server channel has accepted the client connection. |
| public NextAction | handleClose(FilterChainContext ctx)
Implements org. Execute a unit of processing work to be performed, when connection has been closed. |
| public NextAction | handleConnect(FilterChainContext ctx)
Implements org. Execute a unit of processing work to be performed, when channel gets connected. |
| public NextAction | handleEvent(final FilterChainContext ctx, final FilterChainEvent event)
Implements org. Handle custom event associated with the |
| public NextAction | handleRead(FilterChainContext ctx)
Implements org. Execute a unit of processing work to be performed, when channel will become available for reading. |
| public NextAction | handleWrite(FilterChainContext ctx)
Implements org. Execute a unit of processing work to be performed, when some data should be written on channel. |
| public void | onAdded(FilterChain filterChain)
Implements org. Method is called, when the Filter has been added to the passed |
| public void | onFilterChainChanged(FilterChain filterChain)
Implements org. Method is called, when the |
| public void | onRemoved(FilterChain filterChain)
Implements org. Method is called, when the Filter has been removed from the passed |
| public String |
| BaseFilter | back to summary |
|---|---|
| public BaseFilter() | |
| createContext | back to summary |
|---|---|
| public FilterChainContext createContext(final Connection<L> connection, final FilterChainContext. | |
| exceptionOccurred | back to summary |
|---|---|
| public void exceptionOccurred(FilterChainContext ctx, Throwable error) Implements org. Notification about exception, occurred on the
| |
| handleAccept | back to summary |
|---|---|
| public NextAction handleAccept(FilterChainContext ctx) throws IOException Implements org. Doc from org. Execute a unit of processing work to be performed, when server channel has accepted the client connection. This
| |
| handleClose | back to summary |
|---|---|
| public NextAction handleClose(FilterChainContext ctx) throws IOException Implements org. Doc from org. Execute a unit of processing work to be performed, when connection has been closed. This
| |
| handleConnect | back to summary |
|---|---|
| public NextAction handleConnect(FilterChainContext ctx) throws IOException Implements org. Doc from org. Execute a unit of processing work to be performed, when channel gets connected. This
| |
| handleEvent | back to summary |
|---|---|
| public NextAction handleEvent(final FilterChainContext ctx, final FilterChainEvent event) throws IOException Implements org. Doc from org. Handle custom event associated with the
| |
| handleRead | back to summary |
|---|---|
| public NextAction handleRead(FilterChainContext ctx) throws IOException Implements org. Doc from org. Execute a unit of processing work to be performed, when channel will become available for reading. This
| |
| handleWrite | back to summary |
|---|---|
| public NextAction handleWrite(FilterChainContext ctx) throws IOException Implements org. Doc from org. Execute a unit of processing work to be performed, when some data should be written on channel. This
| |
| onAdded | back to summary |
|---|---|
| public void onAdded(FilterChain filterChain) Implements org. Doc from org. Method is called, when the Filter has been added to the passed
| |
| onFilterChainChanged | back to summary |
|---|---|
| public void onFilterChainChanged(FilterChain filterChain) Implements org. Doc from org. Method is called, when the
| |
| onRemoved | back to summary |
|---|---|
| public void onRemoved(FilterChain filterChain) Implements org. Doc from org. Method is called, when the Filter has been removed from the passed
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |