Package io.netty.handler.ssl
Class SniCompletionEvent
- java.lang.Object
-
- io.netty.handler.ssl.SslCompletionEvent
-
- io.netty.handler.ssl.SniCompletionEvent
-
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(java.lang.String hostname)SniCompletionEvent(java.lang.String hostname, java.lang.Throwable cause)SniCompletionEvent(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringhostname()Returns the SNI hostname send by the client if we were able to parse it,nullotherwise.java.lang.StringtoString()-
Methods inherited from class io.netty.handler.ssl.SslCompletionEvent
cause, isSuccess
-
-
-
-
Method Detail
-
hostname
public java.lang.String hostname()
Returns the SNI hostname send by the client if we were able to parse it,nullotherwise.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classSslCompletionEvent
-
-