public final class SslHandshakeCompletionEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Throwable |
cause |
static SslHandshakeCompletionEvent |
SUCCESS |
Modifier | Constructor and Description |
---|---|
private |
SslHandshakeCompletionEvent()
Creates a new event that indicates a successful handshake.
|
|
SslHandshakeCompletionEvent(java.lang.Throwable cause)
Creates a new event that indicates an unsuccessful handshake.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
cause()
|
boolean |
isSuccess()
Return
true if the handshake was successful |
java.lang.String |
toString() |
public static final SslHandshakeCompletionEvent SUCCESS
private final java.lang.Throwable cause
private SslHandshakeCompletionEvent()
public SslHandshakeCompletionEvent(java.lang.Throwable cause)
SUCCESS
to indicate a successful handshake.