| Modifier and Type | Field and Description |
|---|---|
| private final String |
| Access | Constructor and Description |
|---|---|
| public | SslHandshakeCompletionEvent(SSLSession
the session, String SSLSession for the handshake.the application protocol that was selected (if any). applicationProtocol)Creates a new event that indicates a successful handshake. |
| public | SslHandshakeCompletionEvent(SSLSession
the session, String SSLSession for the handshake.the application protocol that was selected (if any). applicationProtocol, Throwable the cause of the failure. cause)Creates a new event that indicates an unsuccessful handshake. |
| public | SslHandshakeCompletionEvent(Throwable
the cause of the failure. cause)Creates a new event that indicates an unsuccessful handshake. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the application protocol.Return the application protocol that was selected or |
| public SSLSession | Returns: the session.Overrides io. SSLSession in case of isSuccess() to be true, null in case of a
failure.
|
| applicationProtocol | back to summary |
|---|---|
| private final String applicationProtocol | |
| SslHandshakeCompletionEvent | back to summary |
|---|---|
| public SslHandshakeCompletionEvent(SSLSession session, String applicationProtocol) Creates a new event that indicates a successful handshake.
| |
| SslHandshakeCompletionEvent | back to summary |
|---|---|
| public SslHandshakeCompletionEvent(SSLSession session, String applicationProtocol, Throwable cause) Creates a new event that indicates an unsuccessful handshake.
| |
| SslHandshakeCompletionEvent | back to summary |
|---|---|
| public SslHandshakeCompletionEvent(Throwable cause) Creates a new event that indicates an unsuccessful handshake.
| |
| applicationProtocol | back to summary |
|---|---|
| public String applicationProtocol() Return the application protocol that was selected or
| |
| session | back to summary |
|---|---|
| public SSLSession session() Overrides io. Returns the
| |