Top Description Fields Constructors Methods
io.netty5.handler.ssl

public abstract Class SslCompletionEvent

extends Object
implements ProtocolEvent
Class Inheritance
All Implemented Interfaces
io.netty5.handler.codec.ProtocolEvent
Known Direct Subclasses
io.netty5.handler.ssl.SslHandshakeCompletionEvent, io.netty5.handler.ssl.SniCompletionEvent, io.netty5.handler.ssl.SslCloseCompletionEvent
Imports
io.netty5.handler.codec.ProtocolEvent, javax.net.ssl.SSLSession

A ProtocolEvent for a completed SSL related event.

Field Summary

Modifier and TypeField and Description
private final Throwable
private final SSLSession

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final Throwable
cause()

Implements io.netty5.handler.codec.ProtocolEvent.cause.

Return the Throwable if isSuccess() returns false and so the completion failed.
public SSLSession

Returns:

the session.
session
()

Returns the SSLSession or null if none existed yet.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

causeback to summary
private final Throwable cause
sessionback to summary
private final SSLSession session

Constructor Detail

SslCompletionEventback to summary
pack-priv SslCompletionEvent(SSLSession session)
SslCompletionEventback to summary
pack-priv SslCompletionEvent(SSLSession session, Throwable cause)

Method Detail

causeback to summary
public final Throwable cause()

Implements io.netty5.handler.codec.ProtocolEvent.cause.

Return the Throwable if isSuccess() returns false and so the completion failed.

Returns:Throwable

Doc from io.netty5.handler.codec.ProtocolEvent.cause.

the Throwable if isFailed() or null if isSuccess().

sessionback to summary
public SSLSession session()

Returns the SSLSession or null if none existed yet.

Returns:SSLSession

the session.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override