com.sun.grizzly.portunif
Interface PUProtocolRequest
- All Known Implementing Classes:
- ProtocolRequestWorkerThreadAdapter
public interface PUProtocolRequest
- Author:
- Alexey Stashok
getSelectionKey
java.nio.channels.SelectionKey getSelectionKey()
getChannel
java.nio.channels.SelectableChannel getChannel()
getByteBuffer
java.nio.ByteBuffer getByteBuffer()
setByteBuffer
void setByteBuffer(java.nio.ByteBuffer byteBuffer)
getSSLEngine
javax.net.ssl.SSLEngine getSSLEngine()
setSSLEngine
void setSSLEngine(javax.net.ssl.SSLEngine sslEngine)
getSecuredInputByteBuffer
java.nio.ByteBuffer getSecuredInputByteBuffer()
setSecuredInputByteBuffer
void setSecuredInputByteBuffer(java.nio.ByteBuffer securedInputByteBuffer)
getSecuredOutputByteBuffer
java.nio.ByteBuffer getSecuredOutputByteBuffer()
setSecuredOutputByteBuffer
void setSecuredOutputByteBuffer(java.nio.ByteBuffer securedOutputByteBuffer)
getPassedPreProcessors
java.util.Collection<java.lang.String> getPassedPreProcessors()
isPreProcessorPassed
boolean isPreProcessorPassed(java.lang.String id)
addPassedPreProcessor
void addPassedPreProcessor(java.lang.String preProcessor)
getProtocolName
java.lang.String getProtocolName()
setProtocolName
void setProtocolName(java.lang.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 © 2012 Oracle Corporation. All Rights Reserved.