com.sun.enterprise.web.portunif.util
Class ProtocolInfo

java.lang.Object
  extended by com.sun.enterprise.web.portunif.util.ProtocolInfo

public class ProtocolInfo
extends Object

Protocol related struc class. An instance of this class will contains information on the current protocol used and its associated buffer.

Author:
Jeanfrancois Arcand

Field Summary
 ByteBuffer byteBuffer
           
 int bytesRead
           
 boolean handshake
           
 ByteBuffer inputBB
           
 boolean isRequestedTransportSecure
           
 boolean isSecure
           
 boolean keepAlive
           
 SelectionKey key
           
 Map<SelectionKey,ProtocolHandler> mappedProtocols
           
 ByteBuffer outputBB
           
 String protocol
           
 String requestURI
           
 SocketChannel socketChannel
           
 SSLContext sslContext
           
 SSLEngine sslEngine
           
 
Constructor Summary
ProtocolInfo()
           
 
Method Summary
 void recycle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sslContext

public SSLContext sslContext

key

public SelectionKey key

sslEngine

public SSLEngine sslEngine

byteBuffer

public ByteBuffer byteBuffer

inputBB

public ByteBuffer inputBB

outputBB

public ByteBuffer outputBB

socketChannel

public SocketChannel socketChannel

protocol

public String protocol

isSecure

public boolean isSecure

isRequestedTransportSecure

public boolean isRequestedTransportSecure

handshake

public boolean handshake

bytesRead

public int bytesRead

mappedProtocols

public Map<SelectionKey,ProtocolHandler> mappedProtocols

keepAlive

public boolean keepAlive

requestURI

public String requestURI
Constructor Detail

ProtocolInfo

public ProtocolInfo()
Method Detail

recycle

public void recycle()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.