- java.lang.Object
-
- io.netty5.handler.ssl.SslCompletionEvent
-
- All Implemented Interfaces:
ProtocolEvent
- Direct Known Subclasses:
SniCompletionEvent
,SslCloseCompletionEvent
,SslHandshakeCompletionEvent
public abstract class SslCompletionEvent extends Object implements ProtocolEvent
AProtocolEvent
for a completed SSL related event.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
cause()
SSLSession
session()
Returns theSSLSession
ornull
if none existed yet.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.netty5.handler.codec.ProtocolEvent
isFailed, isSuccess
-
-
-
-
Method Detail
-
cause
public final Throwable cause()
- Specified by:
cause
in interfaceProtocolEvent
- Returns:
- the
Throwable
ifProtocolEvent.isFailed()
ornull
ifProtocolEvent.isSuccess()
.
-
session
public SSLSession session()
Returns theSSLSession
ornull
if none existed yet.- Returns:
- the session.
-
-