|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.filterchain.BaseFilter
org.glassfish.grizzly.nio.transport.TCPNIOTransportFilter
public final class TCPNIOTransportFilter
The TCPNIOTransport's transport Filter implementation
| Method Summary | |
|---|---|
void |
exceptionOccurred(FilterChainContext ctx,
java.lang.Throwable error)
Notification about exception, occurred on the FilterChain |
NextAction |
handleEvent(FilterChainContext ctx,
FilterChainEvent event)
Handle custom event associated with the Connection. |
NextAction |
handleRead(FilterChainContext ctx)
Execute a unit of processing work to be performed, when channel will become available for reading. |
NextAction |
handleWrite(FilterChainContext ctx)
Execute a unit of processing work to be performed, when some data should be written on channel. |
| Methods inherited from class org.glassfish.grizzly.filterchain.BaseFilter |
|---|
createContext, getFilterChain, getIndex, handleAccept, handleClose, handleConnect, onAdded, onFilterChainChanged, onRemoved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public NextAction handleRead(FilterChainContext ctx)
throws java.io.IOException
BaseFilterFilter may either complete the required processing and
return false, or delegate remaining processing to the next
Filter in a FilterChain containing this Filter
by returning true.
handleRead in interface FilterhandleRead in class BaseFilterctx - FilterChainContext
NextAction instruction for FilterChain, how it
should continue the execution
java.io.IOException
public NextAction handleWrite(FilterChainContext ctx)
throws java.io.IOException
BaseFilterFilter may either complete the required processing and
return false, or delegate remaining processing to the next
Filter in a FilterChain containing this Filter
by returning true.
handleWrite in interface FilterhandleWrite in class BaseFilterctx - FilterChainContext
NextAction instruction for FilterChain, how it
should continue the execution
java.io.IOException
public NextAction handleEvent(FilterChainContext ctx,
FilterChainEvent event)
throws java.io.IOException
BaseFilterConnection.
This Filter may either complete the required processing and
return StopAction, or delegate remaining processing to the next
Filter in a FilterChain containing this Filter
by returning InvokeAction.
handleEvent in interface FilterhandleEvent in class BaseFilterctx - FilterChainContext
NextAction instruction for FilterChain, how it
should continue the execution
java.io.IOException
public void exceptionOccurred(FilterChainContext ctx,
java.lang.Throwable error)
BaseFilterFilterChain
exceptionOccurred in interface FilterexceptionOccurred in class BaseFilterctx - event processing FilterChainContexterror - error, which occurred during FilterChain execution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||