com.sun.grizzly.portunif
Interface PUProtocolRequest
- All Known Implementing Classes:
- ProtocolRequestWorkerThreadAdapter
public interface PUProtocolRequest
- Author:
- Alexey Stashok
getSelectionKey
SelectionKey getSelectionKey()
getChannel
SelectableChannel getChannel()
getByteBuffer
ByteBuffer getByteBuffer()
setByteBuffer
void setByteBuffer(ByteBuffer byteBuffer)
getSSLEngine
SSLEngine getSSLEngine()
setSSLEngine
void setSSLEngine(SSLEngine sslEngine)
getSecuredInputByteBuffer
ByteBuffer getSecuredInputByteBuffer()
setSecuredInputByteBuffer
void setSecuredInputByteBuffer(ByteBuffer securedInputByteBuffer)
getSecuredOutputByteBuffer
ByteBuffer getSecuredOutputByteBuffer()
setSecuredOutputByteBuffer
void setSecuredOutputByteBuffer(ByteBuffer securedOutputByteBuffer)
getPassedPreProcessors
Collection<String> getPassedPreProcessors()
isPreProcessorPassed
boolean isPreProcessorPassed(String id)
addPassedPreProcessor
void addPassedPreProcessor(String preProcessor)
getProtocolName
String getProtocolName()
setProtocolName
void setProtocolName(String protocolName)
setExecuteFilterChain
void setExecuteFilterChain(boolean isExecuteFilterChain)
isExecuteFilterChain
boolean isExecuteFilterChain()
isMapSelectionKey
boolean isMapSelectionKey()
- Returns whether we need to map SelectionKey to the specific ProtocolHandler permanently.
So all next requests will directly go to the specific ProtocolHandler, without
ProtocolFinder to be called. If Protocol
- Returns:
- true - SelectionKey should be permanently associated with ProtocolHandler,
false - otherwise.
setMapSelectionKey
void setMapSelectionKey(boolean mapSelectionKey)
- Sets whether we need to map SelectionKey to the specific ProtocolHandler permanently.
So all next requests will directly go to the specific ProtocolHandler, without
ProtocolFinder to be called. If Protocol
- Parameters:
mapSelectionKey
- True if SelectionKey should be permanently
associated with ProtocolHandler, false - otherwise.
Copyright © 2008 SUN Microsystems. All Rights Reserved.