Package io.netty5.handler.ssl
Class SniCompletionEvent
- java.lang.Object
-
- io.netty5.handler.ssl.SslCompletionEvent
-
- io.netty5.handler.ssl.SniCompletionEvent
-
@UnstableApi public final class SniCompletionEvent extends SslCompletionEvent
Event that is fired once we did a selection of aSslContextbased on theSNI hostname, which may be because it was successful or there was an error.
-
-
Constructor Summary
Constructors Constructor Description SniCompletionEvent(String hostname)SniCompletionEvent(String hostname, Throwable cause)SniCompletionEvent(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringhostname()Returns the SNI hostname send by the client if we were able to parse it,nullotherwise.StringtoString()-
Methods inherited from class io.netty5.handler.ssl.SslCompletionEvent
cause, isSuccess
-
-
-
-
Method Detail
-
hostname
public String hostname()
Returns the SNI hostname send by the client if we were able to parse it,nullotherwise.
-
toString
public String toString()
- Overrides:
toStringin classSslCompletionEvent
-
-