public final class SniCompletionEvent extends SslCompletionEvent
SslContext
based on the SNI hostname
,
which may be because it was successful or there was an error.Constructor and Description |
---|
SniCompletionEvent(String hostname) |
SniCompletionEvent(String hostname,
Throwable cause) |
SniCompletionEvent(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
hostname()
Returns the SNI hostname send by the client if we were able to parse it,
null otherwise. |
String |
toString() |
cause, isSuccess
public SniCompletionEvent(String hostname)
public SniCompletionEvent(Throwable cause)
public String hostname()
null
otherwise.public String toString()
toString
in class SslCompletionEvent
Copyright © 2008–2024 The Netty Project. All rights reserved.