com.sun.grizzly.portunif
Interface PUProtocolRequest

All Known Implementing Classes:
ProtocolRequestWorkerThreadAdapter

public interface PUProtocolRequest

Author:
Alexey Stashok

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

Method Detail

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.