Package io.netty.handler.ssl
Class SniCompletionEvent
java.lang.Object
io.netty.handler.ssl.SslCompletionEvent
io.netty.handler.ssl.SniCompletionEvent
Event that is fired once we did a selection of a
SslContext
based on the SNI hostname
,
which may be because it was successful or there was an error.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSniCompletionEvent
(String hostname) SniCompletionEvent
(String hostname, Throwable cause) SniCompletionEvent
(Throwable cause) -
Method Summary
Methods inherited from class io.netty.handler.ssl.SslCompletionEvent
cause, isSuccess
-
Field Details
-
hostname
-
-
Constructor Details
-
SniCompletionEvent
-
SniCompletionEvent
-
SniCompletionEvent
-
-
Method Details
-
hostname
Returns the SNI hostname send by the client if we were able to parse it,null
otherwise. -
toString
- Overrides:
toString
in classSslCompletionEvent
-