java.util.EventListenerpublic interface SslHandshakeListener
extends java.util.EventListener
Implementations of this interface are notified of TLS handshake events.
Similar to HandshakeCompletedListener, but for SSLEngine.
Typical usage if to add instances of this class as beans to a server connector, or to a client connector.
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
SslHandshakeListener.Event |
The event object carrying information about TLS handshake events.
|
| Modifier and Type | Method | Description |
|---|---|---|
default void |
handshakeFailed(SslHandshakeListener.Event event,
java.lang.Throwable failure) |
Callback method invoked when the TLS handshake fails.
|
default void |
handshakeSucceeded(SslHandshakeListener.Event event) |
Callback method invoked when the TLS handshake succeeds.
|
default void handshakeSucceeded(SslHandshakeListener.Event event)
Callback method invoked when the TLS handshake succeeds.
event - the event object carrying information about the TLS handshake eventdefault void handshakeFailed(SslHandshakeListener.Event event, java.lang.Throwable failure)
Callback method invoked when the TLS handshake fails.
event - the event object carrying information about the TLS handshake eventfailure - the failure that caused the TLS handshake to failCopyright © 1995–2018 Webtide. All rights reserved.