Class NoopTransportObserver.NoopSecurityHandshakeObserver
- java.lang.Object
-
- io.servicetalk.transport.netty.internal.NoopTransportObserver.NoopSecurityHandshakeObserver
-
- All Implemented Interfaces:
ConnectionObserver.SecurityHandshakeObserver
- Enclosing class:
- NoopTransportObserver
public static final class NoopTransportObserver.NoopSecurityHandshakeObserver extends java.lang.Object implements ConnectionObserver.SecurityHandshakeObserver
Noop version ofConnectionObserver.SecurityHandshakeObserver.
-
-
Field Summary
Fields Modifier and Type Field Description static ConnectionObserver.SecurityHandshakeObserverINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandshakeComplete(javax.net.ssl.SSLSession sslSession)Callback when the handshake is complete successfully.voidhandshakeFailed(java.lang.Throwable cause)Callback when the handshake is failed.
-
-
-
Field Detail
-
INSTANCE
public static final ConnectionObserver.SecurityHandshakeObserver INSTANCE
-
-
Method Detail
-
handshakeFailed
public void handshakeFailed(java.lang.Throwable cause)
Description copied from interface:ConnectionObserver.SecurityHandshakeObserverCallback when the handshake is failed.- Specified by:
handshakeFailedin interfaceConnectionObserver.SecurityHandshakeObserver- Parameters:
cause- the cause of handshake failure
-
handshakeComplete
public void handshakeComplete(javax.net.ssl.SSLSession sslSession)
Description copied from interface:ConnectionObserver.SecurityHandshakeObserverCallback when the handshake is complete successfully.- Specified by:
handshakeCompletein interfaceConnectionObserver.SecurityHandshakeObserver- Parameters:
sslSession- theSSLSessionfor this connection
-
-