|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.portunif.FilterChainProtocolHandler
public class FilterChainProtocolHandler
ProtocolHandler, which passes PU request processing to a
Filter
chain.
Constructor Summary | |
---|---|
FilterChainProtocolHandler()
|
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 FilterChainProtocolHandler()
Method Detail |
---|
public String[] getProtocols()
ProtocolHandler
getProtocols
in interface ProtocolHandler
public boolean handle(Context context, PUProtocolRequest protocolRequest) throws IOException
ProtocolHandler
handle
in interface ProtocolHandler
IOException
public boolean expireKey(SelectionKey key)
ProtocolHandler
expireKey
in interface ProtocolHandler
public ByteBuffer getByteBuffer()
ProtocolHandler
ByteBuffer
, where PUReadFilter will read data
getByteBuffer
in interface ProtocolHandler
ByteBuffer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |