Top Description Inners Fields Constructors Methods
org.apache.hc.core5.reactor.ssl

public Class SSLIOSession

extends Object
implements IOSession
Class Inheritance
All Implemented Interfaces
org.apache.hc.core5.reactor.IOSession, org.apache.hc.core5.util.Identifiable, org.apache.hc.core5.http.SocketModalCloseable, org.apache.hc.core5.io.ModalCloseable, java.io.Closeable, java.lang.AutoCloseable, java.nio.channels.ByteChannel, java.nio.channels.WritableByteChannel, java.nio.channels.Channel, java.nio.channels.ReadableByteChannel
Annotations
@Contract
threading:SAFE_CONDITIONAL
@Internal
Imports
java.io.IOException, java.net.SocketAddress, java.nio.ByteBuffer, java.nio.channels.ByteChannel, .CancelledKeyException, .ClosedChannelException, .SelectionKey, java.util.concurrent.atomic.AtomicInteger, .AtomicReference, java.util.concurrent.locks.Lock, javax.net.ssl.SSLContext, .SSLEngine, .SSLEngineResult, .SSLEngineResult.HandshakeStatus, .SSLException, .SSLHandshakeException, .SSLSession, org.apache.hc.core5.annotation.Contract, .Internal, .ThreadingBehavior, org.apache.hc.core5.concurrent.FutureCallback, org.apache.hc.core5.function.Callback, org.apache.hc.core5.io.CloseMode, .SocketTimeoutExceptionFactory, org.apache.hc.core5.net.NamedEndpoint, org.apache.hc.core5.reactor.Command, .EventMask, .IOEventHandler, .IOSession, org.apache.hc.core5.util.Args, .Asserts, .Timeout

SSLIOSession is a decorator class intended to transparently extend an IOSession with transport layer security capabilities based on the SSL/TLS protocol.
Since
4.2

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static enum

Field Summary

Modifier and TypeField and Description
private int
private static final ByteBuffer
private volatile boolean
private final AtomicReference<FutureCallback<SSLSession>>
private final AtomicReference<SSLIOSession.TLSHandShakeState>
private final Timeout
private final SSLManagedBuffer
private final SSLSessionInitializer
private final SSLManagedBuffer
private final IOEventHandler
private final AtomicInteger
private final SSLManagedBuffer
private final IOSession
private final Callback<SSLIOSession>
private final Callback<SSLIOSession>
private volatile Timeout
private final SSLEngine
private final SSLMode
private volatile IOSession.Status
private final NamedEndpoint
private volatile TlsDetails
private final SSLSessionVerifier

Constructor Summary

AccessConstructor and Description
public
SSLIOSession(final NamedEndpoint
target endpoint (applicable in client mode only). May be null.
targetEndpoint
,
final IOSession
I/O session to be decorated with the TLS/SSL capabilities.
session
,
final SSLMode
SSL mode (client or server)
sslMode
,
final SSLContext
SSL context to use for this I/O session.
sslContext
,
final SSLBufferMode
buffer management mode
sslBufferMode
,
final SSLSessionInitializer
optional SSL session initializer. May be null.
initializer
,
final SSLSessionVerifier
optional SSL session verifier. May be null.
verifier
,
final Callback<SSLIOSession> sessionStartCallback, final Callback<SSLIOSession> sessionEndCallback, final Timeout
timeout to apply for the TLS/SSL handshake. May be null.
connectTimeout
)

Creates new instance of SSLIOSession class.

public
SSLIOSession(final NamedEndpoint
target endpoint (applicable in client mode only). May be null.
targetEndpoint
,
final IOSession
I/O session to be decorated with the TLS/SSL capabilities.
session
,
final SSLMode
SSL mode (client or server)
sslMode
,
final SSLContext
SSL context to use for this I/O session.
sslContext
,
final SSLBufferMode
buffer management mode
sslBufferMode
,
final SSLSessionInitializer
optional SSL session initializer. May be null.
initializer
,
final SSLSessionVerifier
optional SSL session verifier. May be null.
verifier
,
final Timeout
timeout to apply for the TLS/SSL handshake. May be null.
handshakeTimeout
,
final Callback<SSLIOSession> sessionStartCallback, final Callback<SSLIOSession> sessionEndCallback, final FutureCallback<SSLSession>
result callback. May be null.
resultCallback
)

Creates new instance of SSLIOSession class.

Method Summary

Modifier and TypeMethod and Description
public void
beginHandshake(final IOSession protocolSession)

public ByteChannel
channel()

Implements org.apache.hc.core5.reactor.IOSession.channel.

Returns the underlying I/O channel associated with this session.
public void
clearEvent(final int
I/O event type.
op
)

Implements org.apache.hc.core5.reactor.IOSession.clearEvent.

Clears interest in a particular I/O event type by updating the event mask associated with the session.
public void
close()

Implements org.apache.hc.core5.reactor.IOSession.close.

Terminates the session gracefully and closes the underlying I/O channel.
public void
close(final CloseMode
How to close the receiver.
closeMode
)

Implements org.apache.hc.core5.io.ModalCloseable.close.

Closes this process or endpoint and releases any system resources associated with it.
private SSLException
private void
decryptData(final IOSession protocolSession)

private void
doHandshake(final IOSession protocolSession)

private void
private SSLEngineResult
doUnwrap(final ByteBuffer src, final ByteBuffer dst)

private SSLEngineResult
doWrap(final ByteBuffer src, final ByteBuffer dst)

private void
encryptData(final IOSession protocolSession)

public void
enqueue(final Command command, final Command.Priority priority)

Implements org.apache.hc.core5.reactor.IOSession.enqueue.

Inserts Command at the end of the command queue.
private IOEventHandler
private static void
formatOps(final StringBuilder buffer, final int ops)

public int
getEventMask()

Implements org.apache.hc.core5.reactor.IOSession.getEventMask.

Returns mask of I/O evens this session declared interest in.
public IOEventHandler
getHandler()

Implements org.apache.hc.core5.reactor.IOSession.getHandler.

Returns event handler associated with the session.
public String
public long
getLastEventTime()

Implements org.apache.hc.core5.reactor.IOSession.getLastEventTime.

Returns timestamp of the last I/O event including socket timeout reset.
public long
getLastReadTime()

Implements org.apache.hc.core5.reactor.IOSession.getLastReadTime.

Returns timestamp of the last read event.
public long
getLastWriteTime()

Implements org.apache.hc.core5.reactor.IOSession.getLastWriteTime.

Returns timestamp of the last write event.
public SocketAddress
public Lock
getLock()

Implements org.apache.hc.core5.reactor.IOSession.getLock.

Returns session lock that should be used by I/O event handlers to synchronize access to the session.
public SocketAddress
getRemoteAddress()

Implements org.apache.hc.core5.reactor.IOSession.getRemoteAddress.

Returns address of the remote peer.
public Timeout
getSocketTimeout()

Implements org.apache.hc.core5.reactor.IOSession.getSocketTimeout.

Returns value of the socket timeout in milliseconds.
public IOSession.Status
getStatus()

Implements org.apache.hc.core5.reactor.IOSession.getStatus.

Returns status of the session:

Status#ACTIVE: session is active.

public TlsDetails
public boolean
hasCommands()

Implements org.apache.hc.core5.reactor.IOSession.hasCommands.

Tests if there enqueued commands pending execution.
private void
initialize(final IOSession protocolSession)

public boolean
isOpen()

Implements java.nio.channels.Channel.isOpen.

Tells whether or not this channel is open.
public Command
poll()

Implements org.apache.hc.core5.reactor.IOSession.poll.

Removes first Command from the command queue if available.
public int
read(final ByteBuffer
The buffer into which bytes are to be transferred
dst
)

Implements java.nio.channels.ReadableByteChannel.read.

Reads a sequence of bytes from this channel into the given buffer.
private int
private int
public void
setEvent(final int
I/O event type.
op
)

Implements org.apache.hc.core5.reactor.IOSession.setEvent.

Declares interest in a particular I/O event type by updating the event mask associated with the session.
public void
setEventMask(final int
new I/O event mask.
ops
)

Implements org.apache.hc.core5.reactor.IOSession.setEventMask.

Declares interest in I/O event notifications by setting the event mask associated with the session
public void
setSocketTimeout(final Timeout
socket timeout.
timeout
)

Implements org.apache.hc.core5.reactor.IOSession.setSocketTimeout.

Sets value of the socket timeout in milliseconds.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
private void
public void
updateReadTime()

Implements org.apache.hc.core5.reactor.IOSession.updateReadTime.

Updates the timestamp of the last read event
public void
updateWriteTime()

Implements org.apache.hc.core5.reactor.IOSession.updateWriteTime.

Updates the timestamp of the last write event
public void
upgrade(final IOEventHandler handler)

Implements org.apache.hc.core5.reactor.IOSession.upgrade.

Upgrades event handler associated with the session.
public int
write(final ByteBuffer
The buffer from which bytes are to be retrieved
src
)

Implements java.nio.channels.WritableByteChannel.write.

Writes a sequence of bytes to this channel from the given buffer.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

appEventMaskback to summary
private int appEventMask
EMPTY_BUFFERback to summary
private static final ByteBuffer EMPTY_BUFFER
endOfStreamback to summary
private volatile boolean endOfStream
handshakeCallbackRefback to summary
private final AtomicReference<FutureCallback<SSLSession>> handshakeCallbackRef
handshakeStateRefback to summary
private final AtomicReference<SSLIOSession.TLSHandShakeState> handshakeStateRef
handshakeTimeoutback to summary
private final Timeout handshakeTimeout
inEncryptedback to summary
private final SSLManagedBuffer inEncrypted
initializerback to summary
private final SSLSessionInitializer initializer
inPlainback to summary
private final SSLManagedBuffer inPlain
internalEventHandlerback to summary
private final IOEventHandler internalEventHandler
outboundClosedCountback to summary
private final AtomicInteger outboundClosedCount
outEncryptedback to summary
private final SSLManagedBuffer outEncrypted
sessionback to summary
private final IOSession session
sessionEndCallbackback to summary
private final Callback<SSLIOSession> sessionEndCallback
sessionStartCallbackback to summary
private final Callback<SSLIOSession> sessionStartCallback
socketTimeoutback to summary
private volatile Timeout socketTimeout
sslEngineback to summary
private final SSLEngine sslEngine
sslModeback to summary
private final SSLMode sslMode
statusback to summary
private volatile IOSession.Status status
targetEndpointback to summary
private final NamedEndpoint targetEndpoint
tlsDetailsback to summary
private volatile TlsDetails tlsDetails
verifierback to summary
private final SSLSessionVerifier verifier

Constructor Detail

SSLIOSessionback to summary
public SSLIOSession(final NamedEndpoint targetEndpoint, final IOSession session, final SSLMode sslMode, final SSLContext sslContext, final SSLBufferMode sslBufferMode, final SSLSessionInitializer initializer, final SSLSessionVerifier verifier, final Callback<SSLIOSession> sessionStartCallback, final Callback<SSLIOSession> sessionEndCallback, final Timeout connectTimeout)

Creates new instance of SSLIOSession class.

Parameters
targetEndpoint:NamedEndpoint

target endpoint (applicable in client mode only). May be null.

session:IOSession

I/O session to be decorated with the TLS/SSL capabilities.

sslMode:SSLMode

SSL mode (client or server)

sslContext:SSLContext

SSL context to use for this I/O session.

sslBufferMode:SSLBufferMode

buffer management mode

initializer:SSLSessionInitializer

optional SSL session initializer. May be null.

verifier:SSLSessionVerifier

optional SSL session verifier. May be null.

connectTimeout:Timeout

timeout to apply for the TLS/SSL handshake. May be null.

Since
5.0
SSLIOSessionback to summary
public SSLIOSession(final NamedEndpoint targetEndpoint, final IOSession session, final SSLMode sslMode, final SSLContext sslContext, final SSLBufferMode sslBufferMode, final SSLSessionInitializer initializer, final SSLSessionVerifier verifier, final Timeout handshakeTimeout, final Callback<SSLIOSession> sessionStartCallback, final Callback<SSLIOSession> sessionEndCallback, final FutureCallback<SSLSession> resultCallback)

Creates new instance of SSLIOSession class.

Parameters
targetEndpoint:NamedEndpoint

target endpoint (applicable in client mode only). May be null.

session:IOSession

I/O session to be decorated with the TLS/SSL capabilities.

sslMode:SSLMode

SSL mode (client or server)

sslContext:SSLContext

SSL context to use for this I/O session.

sslBufferMode:SSLBufferMode

buffer management mode

initializer:SSLSessionInitializer

optional SSL session initializer. May be null.

verifier:SSLSessionVerifier

optional SSL session verifier. May be null.

handshakeTimeout:Timeout

timeout to apply for the TLS/SSL handshake. May be null.

resultCallback:FutureCallback<SSLSession>

result callback. May be null.

Since
5.2

Method Detail

beginHandshakeback to summary
public void beginHandshake(final IOSession protocolSession) throws IOException
channelback to summary
public ByteChannel channel()

Implements org.apache.hc.core5.reactor.IOSession.channel.

Doc from org.apache.hc.core5.reactor.IOSession.channel.

Returns the underlying I/O channel associated with this session.

Returns:ByteChannel

the I/O channel.

Annotations
@Override
clearEventback to summary
public void clearEvent(final int op)

Implements org.apache.hc.core5.reactor.IOSession.clearEvent.

Doc from org.apache.hc.core5.reactor.IOSession.clearEvent.

Clears interest in a particular I/O event type by updating the event mask associated with the session.

Parameters
op:int

I/O event type.

Annotations
@Override
closeback to summary
public void close()

Implements org.apache.hc.core5.reactor.IOSession.close.

Doc from org.apache.hc.core5.reactor.IOSession.close.

Terminates the session gracefully and closes the underlying I/O channel. This method ensures that session termination handshake, such as the one used by the SSL/TLS protocol, is correctly carried out.

Annotations
@Override
closeback to summary
public void close(final CloseMode closeMode)

Implements org.apache.hc.core5.io.ModalCloseable.close.

Doc from org.apache.hc.core5.io.ModalCloseable.close.

Closes this process or endpoint and releases any system resources associated with it. If the endpoint or the process is already closed then invoking this method has no effect.

Parameters
closeMode:CloseMode

How to close the receiver.

Annotations
@Override
convertback to summary
private SSLException convert(final RuntimeException ex)
decryptDataback to summary
private void decryptData(final IOSession protocolSession) throws IOException
doHandshakeback to summary
private void doHandshake(final IOSession protocolSession) throws IOException
doRunTaskback to summary
private void doRunTask()
doUnwrapback to summary
private SSLEngineResult doUnwrap(final ByteBuffer src, final ByteBuffer dst) throws SSLException
doWrapback to summary
private SSLEngineResult doWrap(final ByteBuffer src, final ByteBuffer dst) throws SSLException
encryptDataback to summary
private void encryptData(final IOSession protocolSession) throws IOException
enqueueback to summary
public void enqueue(final Command command, final Command.Priority priority)

Implements org.apache.hc.core5.reactor.IOSession.enqueue.

Doc from org.apache.hc.core5.reactor.IOSession.enqueue.

Inserts Command at the end of the command queue.

Annotations
@Override
ensureHandlerback to summary
private IOEventHandler ensureHandler()
formatOpsback to summary
private static void formatOps(final StringBuilder buffer, final int ops)
getEventMaskback to summary
public int getEventMask()

Implements org.apache.hc.core5.reactor.IOSession.getEventMask.

Doc from org.apache.hc.core5.reactor.IOSession.getEventMask.

Returns mask of I/O evens this session declared interest in.

Returns:int

I/O event mask.

Annotations
@Override
getHandlerback to summary
public IOEventHandler getHandler()

Implements org.apache.hc.core5.reactor.IOSession.getHandler.

Doc from org.apache.hc.core5.reactor.IOSession.getHandler.

Returns event handler associated with the session.

Annotations
@Override
getIdback to summary
public String getId()

Implements org.apache.hc.core5.util.Identifiable.getId.

Annotations
@Override
getLastEventTimeback to summary
public long getLastEventTime()

Implements org.apache.hc.core5.reactor.IOSession.getLastEventTime.

Doc from org.apache.hc.core5.reactor.IOSession.getLastEventTime.

Returns timestamp of the last I/O event including socket timeout reset.

Returns:long

timestamp.

Annotations
@Override
getLastReadTimeback to summary
public long getLastReadTime()

Implements org.apache.hc.core5.reactor.IOSession.getLastReadTime.

Doc from org.apache.hc.core5.reactor.IOSession.getLastReadTime.

Returns timestamp of the last read event.

Returns:long

timestamp.

Annotations
@Override
getLastWriteTimeback to summary
public long getLastWriteTime()

Implements org.apache.hc.core5.reactor.IOSession.getLastWriteTime.

Doc from org.apache.hc.core5.reactor.IOSession.getLastWriteTime.

Returns timestamp of the last write event.

Returns:long

timestamp.

Annotations
@Override
getLocalAddressback to summary
public SocketAddress getLocalAddress()

Implements org.apache.hc.core5.reactor.IOSession.getLocalAddress.

Doc from org.apache.hc.core5.reactor.IOSession.getLocalAddress.

Returns local address.

Returns:SocketAddress

socket address.

Annotations
@Override
getLockback to summary
public Lock getLock()

Implements org.apache.hc.core5.reactor.IOSession.getLock.

Doc from org.apache.hc.core5.reactor.IOSession.getLock.

Returns session lock that should be used by I/O event handlers to synchronize access to the session.

Annotations
@Override
getRemoteAddressback to summary
public SocketAddress getRemoteAddress()

Implements org.apache.hc.core5.reactor.IOSession.getRemoteAddress.

Doc from org.apache.hc.core5.reactor.IOSession.getRemoteAddress.

Returns address of the remote peer.

Returns:SocketAddress

socket address.

Annotations
@Override
getSocketTimeoutback to summary
public Timeout getSocketTimeout()

Implements org.apache.hc.core5.reactor.IOSession.getSocketTimeout.

Doc from org.apache.hc.core5.reactor.IOSession.getSocketTimeout.

Returns value of the socket timeout in milliseconds. The value of 0 signifies the session cannot time out.

Returns:Timeout

socket timeout.

Annotations
@Override
getStatusback to summary
public IOSession.Status getStatus()

Implements org.apache.hc.core5.reactor.IOSession.getStatus.

Doc from org.apache.hc.core5.reactor.IOSession.getStatus.

Returns status of the session:

Status#ACTIVE: session is active.

Status#CLOSING: session is being closed.

Status#CLOSED: session has been terminated.

Returns:IOSession.Status

session status.

Annotations
@Override
getTlsDetailsback to summary
public TlsDetails getTlsDetails()
hasCommandsback to summary
public boolean hasCommands()

Implements org.apache.hc.core5.reactor.IOSession.hasCommands.

Doc from org.apache.hc.core5.reactor.IOSession.hasCommands.

Tests if there enqueued commands pending execution.

Annotations
@Override
initializeback to summary
private void initialize(final IOSession protocolSession) throws IOException
isOpenback to summary
public boolean isOpen()

Implements java.nio.channels.Channel.isOpen.

Doc from java.nio.channels.Channel.isOpen.

Tells whether or not this channel is open.

Returns:boolean

true if, and only if, this channel is open

Annotations
@Override
pollback to summary
public Command poll()

Implements org.apache.hc.core5.reactor.IOSession.poll.

Doc from org.apache.hc.core5.reactor.IOSession.poll.

Removes first Command from the command queue if available.

Annotations
@Override
readback to summary
public int read(final ByteBuffer dst)

Implements java.nio.channels.ReadableByteChannel.read.

Doc from java.nio.channels.ReadableByteChannel.read.

Reads a sequence of bytes from this channel into the given buffer.

An attempt is made to read up to r bytes from the channel, where r is the number of bytes remaining in the buffer, that is, dst.remaining(), at the moment this method is invoked.

Suppose that a byte sequence of length n is read, where 0 <= n <= r. This byte sequence will be transferred into the buffer so that the first byte in the sequence is at index p and the last byte is at index p + n - 1, where p is the buffer's position at the moment this method is invoked. Upon return the buffer's position will be equal to p + n; its limit will not have changed.

A read operation might not fill the buffer, and in fact it might not read any bytes at all. Whether or not it does so depends upon the nature and state of the channel. A socket channel in non-blocking mode, for example, cannot read any more bytes than are immediately available from the socket's input buffer; similarly, a file channel cannot read any more bytes than remain in the file. It is guaranteed, however, that if a channel is in blocking mode and there is at least one byte remaining in the buffer then this method will block until at least one byte is read.

This method may be invoked at any time. If another thread has already initiated a read operation upon this channel, however, then an invocation of this method will block until the first operation is complete.

Parameters
dst:ByteBuffer

The buffer into which bytes are to be transferred

Returns:int

The number of bytes read, possibly zero, or -1 if the channel has reached end-of-stream

Annotations
@Override
receiveEncryptedDataback to summary
private int receiveEncryptedData() throws IOException
sendEncryptedDataback to summary
private int sendEncryptedData() throws IOException
setEventback to summary
public void setEvent(final int op)

Implements org.apache.hc.core5.reactor.IOSession.setEvent.

Doc from org.apache.hc.core5.reactor.IOSession.setEvent.

Declares interest in a particular I/O event type by updating the event mask associated with the session.

Parameters
op:int

I/O event type.

Annotations
@Override
setEventMaskback to summary
public void setEventMask(final int ops)

Implements org.apache.hc.core5.reactor.IOSession.setEventMask.

Doc from org.apache.hc.core5.reactor.IOSession.setEventMask.

Declares interest in I/O event notifications by setting the event mask associated with the session

Parameters
ops:int

new I/O event mask.

Annotations
@Override
setSocketTimeoutback to summary
public void setSocketTimeout(final Timeout timeout)

Implements org.apache.hc.core5.reactor.IOSession.setSocketTimeout.

Doc from org.apache.hc.core5.reactor.IOSession.setSocketTimeout.

Sets value of the socket timeout in milliseconds. The value of 0 signifies the session cannot time out.

Please note this operation may affect the last event time.

Parameters
timeout:Timeout

socket timeout.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override
updateEventMaskback to summary
private void updateEventMask()
updateReadTimeback to summary
public void updateReadTime()

Implements org.apache.hc.core5.reactor.IOSession.updateReadTime.

Doc from org.apache.hc.core5.reactor.IOSession.updateReadTime.

Updates the timestamp of the last read event

Annotations
@Override
updateWriteTimeback to summary
public void updateWriteTime()

Implements org.apache.hc.core5.reactor.IOSession.updateWriteTime.

Doc from org.apache.hc.core5.reactor.IOSession.updateWriteTime.

Updates the timestamp of the last write event

Annotations
@Override
upgradeback to summary
public void upgrade(final IOEventHandler handler)

Implements org.apache.hc.core5.reactor.IOSession.upgrade.

Doc from org.apache.hc.core5.reactor.IOSession.upgrade.

Upgrades event handler associated with the session.

Annotations
@Override
writeback to summary
public int write(final ByteBuffer src) throws IOException

Implements java.nio.channels.WritableByteChannel.write.

Doc from java.nio.channels.WritableByteChannel.write.

Writes a sequence of bytes to this channel from the given buffer.

An attempt is made to write up to r bytes to the channel, where r is the number of bytes remaining in the buffer, that is, src.remaining(), at the moment this method is invoked.

Suppose that a byte sequence of length n is written, where 0 <= n <= r. This byte sequence will be transferred from the buffer starting at index p, where p is the buffer's position at the moment this method is invoked; the index of the last byte written will be p + n - 1. Upon return the buffer's position will be equal to p + n; its limit will not have changed.

Unless otherwise specified, a write operation will return only after writing all of the r requested bytes. Some types of channels, depending upon their state, may write only some of the bytes or possibly none at all. A socket channel in non-blocking mode, for example, cannot write any more bytes than are free in the socket's output buffer.

This method may be invoked at any time. If another thread has already initiated a write operation upon this channel, however, then an invocation of this method will block until the first operation is complete.

Parameters
src:ByteBuffer

The buffer from which bytes are to be retrieved

Returns:int

The number of bytes written, possibly zero

Annotations
@Override
Exceptions
IOException:
If some other I/O error occurs
org.apache.hc.core5.reactor.ssl back to summary

pack-priv final Enum SSLIOSession.TLSHandShakeState

extends Enum<SSLIOSession.TLSHandShakeState>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final SSLIOSession.TLSHandShakeState
public static final SSLIOSession.TLSHandShakeState
public static final SSLIOSession.TLSHandShakeState
public static final SSLIOSession.TLSHandShakeState

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static SSLIOSession.TLSHandShakeState
public static SSLIOSession.TLSHandShakeState[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

COMPLETEback to summary
public static final SSLIOSession.TLSHandShakeState COMPLETE
HANDSHAKINGback to summary
public static final SSLIOSession.TLSHandShakeState HANDSHAKING
INITIALIZEDback to summary
public static final SSLIOSession.TLSHandShakeState INITIALIZED
READYback to summary
public static final SSLIOSession.TLSHandShakeState READY

Constructor Detail

TLSHandShakeStateback to summary
private TLSHandShakeState()

Method Detail

valueOfback to summary
public static SSLIOSession.TLSHandShakeState valueOf(String name)
valuesback to summary
public static SSLIOSession.TLSHandShakeState[] values()