@UnstableApi public final class SniCompletionEvent extends SslCompletionEvent
SslContext
based on the SNI hostname
,
which may be because it was successful or there was an error.构造器和说明 |
---|
SniCompletionEvent(java.lang.String hostname) |
SniCompletionEvent(java.lang.String hostname,
java.lang.Throwable cause) |
SniCompletionEvent(java.lang.Throwable cause) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
hostname()
Returns the SNI hostname send by the client if we were able to parse it,
null otherwise. |
java.lang.String |
toString() |
cause, isSuccess
public SniCompletionEvent(java.lang.String hostname)
public SniCompletionEvent(java.lang.String hostname, java.lang.Throwable cause)
public SniCompletionEvent(java.lang.Throwable cause)
public java.lang.String hostname()
null
otherwise.public java.lang.String toString()
toString
在类中 SslCompletionEvent