public static interface ConnectionObserver.SecurityHandshakeObserver
Either handshakeComplete(SSLSession)
or handshakeFailed(Throwable)
will be invoked to signal
successful or failed completion of the handshake.
Modifier and Type | Method and Description |
---|---|
void |
handshakeComplete(javax.net.ssl.SSLSession sslSession)
Callback when the handshake is complete successfully.
|
void |
handshakeFailed(java.lang.Throwable cause)
Callback when the handshake is failed.
|
void handshakeFailed(java.lang.Throwable cause)
cause
- the cause of handshake failurevoid handshakeComplete(javax.net.ssl.SSLSession sslSession)
sslSession
- the SSLSession
for this connection