|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.grizzly.portunif.DefaultFilterChainProtocolHandler
public class DefaultFilterChainProtocolHandler
ProtocolHandler, which passes PU request processing to a default
FilterChain, starting from Filter next to PUReadFilter.
| Constructor Summary | |
|---|---|
DefaultFilterChainProtocolHandler()
|
|
| Method Summary | |
|---|---|
boolean |
expireKey(SelectionKey key)
Invoked when the SelectorThread is about to expire a SelectionKey. |
ByteBuffer |
getByteBuffer()
Returns ByteBuffer, where PUReadFilter will read data |
String[] |
getProtocols()
Return an array of protocols supported by this ProtocolHandler. |
boolean |
handle(Context context,
PUProtocolRequest protocolRequest)
Handle the current request by either redirecting the request to a new port or by delivering the request to the proper endpoint. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFilterChainProtocolHandler()
| Method Detail |
|---|
public String[] getProtocols()
ProtocolHandler
getProtocols in interface ProtocolHandler
public boolean handle(Context context,
PUProtocolRequest protocolRequest)
throws IOException
ProtocolHandler
handle in interface ProtocolHandlerIOExceptionpublic boolean expireKey(SelectionKey key)
ProtocolHandler
expireKey in interface ProtocolHandlerpublic ByteBuffer getByteBuffer()
ProtocolHandlerByteBuffer, where PUReadFilter will read data
getByteBuffer in interface ProtocolHandlerByteBuffer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||