java.lang.Objectjava.lang.Enum
javax.net.ssl.SSLEngineResult.HandshakeStatus
An SSLEngineResult enum describing the current
handshaking state of this SSLEngine.
| Field Summary | |
|---|---|
static SSLEngineResult.HandshakeStatus |
FINISHED
The SSLEngine has just finished handshaking. |
static SSLEngineResult.HandshakeStatus |
NEED_TASK
The SSLEngine needs the results of one (or more)
delegated tasks before handshaking can continue. |
static SSLEngineResult.HandshakeStatus |
NEED_UNWRAP
The SSLEngine needs to receive data from the
remote side before handshaking can continue. |
static SSLEngineResult.HandshakeStatus |
NEED_WRAP
The SSLEngine must send data to the remote side
before handshaking can continue, so SSLEngine.wrap()
should be called. |
static SSLEngineResult.HandshakeStatus |
NOT_HANDSHAKING
The SSLEngine is not currently handshaking. |
| Constructor Summary | |
|---|---|
SSLEngineResult.HandshakeStatus()
|
|
| Method Summary | |
|---|---|
static SSLEngineResult.HandshakeStatus |
valueOf(String name)
|
static SSLEngineResult.HandshakeStatus[] |
values()
|
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
public static final SSLEngineResult.HandshakeStatus NOT_HANDSHAKING
SSLEngine is not currently handshaking.
public static final SSLEngineResult.HandshakeStatus FINISHED
SSLEngine has just finished handshaking.
public static final SSLEngineResult.HandshakeStatus NEED_TASK
SSLEngine needs the results of one (or more)
delegated tasks before handshaking can continue.
SSLEngine.getDelegatedTask()public static final SSLEngineResult.HandshakeStatus NEED_WRAP
SSLEngine must send data to the remote side
before handshaking can continue, so SSLEngine.wrap()
should be called.
SSLEngine.wrap(ByteBuffer, ByteBuffer)public static final SSLEngineResult.HandshakeStatus NEED_UNWRAP
SSLEngine needs to receive data from the
remote side before handshaking can continue.
| Constructor Detail |
|---|
public SSLEngineResult.HandshakeStatus()
| Method Detail |
|---|
public static final SSLEngineResult.HandshakeStatus[] values()
public static SSLEngineResult.HandshakeStatus valueOf(String name)