Package org.eclipse.jetty.io.ssl
Interface SslHandshakeListener
-
- All Superinterfaces:
EventListener
@Deprecated(since="2021-05-27") public interface SslHandshakeListener extends EventListener
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Implementations of this interface are notified of TLS handshake events.
Similar to
HandshakeCompletedListener
, but forSSLEngine
.Typical usage if to add instances of this class as beans to a server connector, or to a client connector.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SslHandshakeListener.Event
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
handshakeFailed(SslHandshakeListener.Event event, Throwable failure)
Deprecated.Callback method invoked when the TLS handshake fails.default void
handshakeSucceeded(SslHandshakeListener.Event event)
Deprecated.Callback method invoked when the TLS handshake succeeds.
-
-
-
Method Detail
-
handshakeSucceeded
default void handshakeSucceeded(SslHandshakeListener.Event event) throws SSLException
Deprecated.Callback method invoked when the TLS handshake succeeds.
- Parameters:
event
- the event object carrying information about the TLS handshake event- Throws:
SSLException
- if any error happen during handshake
-
handshakeFailed
default void handshakeFailed(SslHandshakeListener.Event event, Throwable failure)
Deprecated.Callback method invoked when the TLS handshake fails.
- Parameters:
event
- the event object carrying information about the TLS handshake eventfailure
- the failure that caused the TLS handshake to fail
-
-