com.sun.grizzly.portunif
Interface PUProtocolRequest

All Known Implementing Classes:
ProtocolRequestWorkerThreadAdapter

public interface PUProtocolRequest

Author:
Alexey Stashok

Method Summary
 void addPassedPreProcessor(String preProcessor)
           
 ByteBuffer getByteBuffer()
           
 SelectableChannel getChannel()
           
 Collection<String> getPassedPreProcessors()
           
 String getProtocolName()
           
 ByteBuffer getSecuredInputByteBuffer()
           
 ByteBuffer getSecuredOutputByteBuffer()
           
 SelectionKey getSelectionKey()
           
 SSLEngine getSSLEngine()
           
 boolean isExecuteFilterChain()
           
 boolean isMapSelectionKey()
          Returns whether we need to map SelectionKey to the specific ProtocolHandler permanently.
 boolean isPreProcessorPassed(String id)
           
 void setByteBuffer(ByteBuffer byteBuffer)
           
 void setExecuteFilterChain(boolean isExecuteFilterChain)
           
 void setMapSelectionKey(boolean mapSelectionKey)
          Sets whether we need to map SelectionKey to the specific ProtocolHandler permanently.
 void setProtocolName(String protocolName)
           
 void setSecuredInputByteBuffer(ByteBuffer securedInputByteBuffer)
           
 void setSecuredOutputByteBuffer(ByteBuffer securedOutputByteBuffer)
           
 void setSSLEngine(SSLEngine sslEngine)
           
 

Method Detail

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 © 2012 Oracle Corporation. All Rights Reserved.