SslContext based on the SNI hostname,
which may be because it was successful or there was an error.
| Access | Constructor and Description |
|---|---|
| public | SniCompletionEvent(String
the hostname that was used for SNI. hostname)Creates a new event that indicates a successful processing of the SNI extension. |
| public | SniCompletionEvent(String
the hostname that was used for SNI. hostname, Throwable the cause of the failure. cause)Creates a new event that indicates a failed processing of the SNI extension. |
| public | SniCompletionEvent(Throwable
the cause of the failure. cause)Creates a new event that indicates a failed processing of the SNI extension. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | toString()
Overrides io. |
| hostname | back to summary |
|---|---|
| private final String hostname | |
| SniCompletionEvent | back to summary |
|---|---|
| public SniCompletionEvent(String hostname) Creates a new event that indicates a successful processing of the SNI extension.
| |
| SniCompletionEvent | back to summary |
|---|---|
| public SniCompletionEvent(String hostname, Throwable cause) Creates a new event that indicates a failed processing of the SNI extension. | |
| SniCompletionEvent | back to summary |
|---|---|
| public SniCompletionEvent(Throwable cause) Creates a new event that indicates a failed processing of the SNI extension.
| |
| hostname | back to summary |
|---|---|
| public String hostname() Returns the SNI hostname send by the client if we were able to parse it, | |
| toString | back to summary |
|---|---|
| public String toString() Overrides io. Doc from java. Returns a string representation of the object. | |