| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | appliesTo(SSLEngine
the SSLEngine to check sslEngine)Overrides default org. |
| public void | configure(SSLEngine
the SSLEngine to configure sslEngine, Connection the Connection to configure connection)Overrides default org. |
| public void |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| JDK9ServerALPNProcessor | back to summary |
|---|---|
| public JDK9ServerALPNProcessor() | |
| appliesTo | back to summary |
|---|---|
| public boolean appliesTo(SSLEngine sslEngine) Overrides default org. Doc from org. Tests if this processor can be applied to the given SSLEngine. | |
| configure | back to summary |
|---|---|
| public void configure(SSLEngine sslEngine, Connection connection) Overrides default org. Doc from org. Configures the given SSLEngine and the given Connection for ALPN.
| |
| init | back to summary |
|---|---|
| public void init() Overrides default org. Doc from org. Initializes this ALPNProcessor
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ALPNServerConnection |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | apply(SSLEngine
the first function argument engine, List<String> the second function argument protocols)Implements java. |
| public void | handshakeFailed(SslHandshakeListener.
the event object carrying information about the TLS handshake event event,the failure that caused the TLS handshake to fail failure)Overrides default org. Callback method invoked when the TLS handshake fails. |
| public void | handshakeSucceeded(SslHandshakeListener.
the event object carrying information about the TLS handshake event eventOverrides default org. Callback method invoked when the TLS handshake succeeds. |
| alpnConnection | back to summary |
|---|---|
| private final ALPNServerConnection alpnConnection | |
| ALPNCallback | back to summary |
|---|---|
| private ALPNCallback(ALPNServerConnection connection) | |
| apply | back to summary |
|---|---|
| public String apply(SSLEngine engine, List<String> protocols) Implements java. Doc from java. Applies this function to the given arguments. | |
| handshakeFailed | back to summary |
|---|---|
| public void handshakeFailed(SslHandshakeListener. Overrides default org. Doc from org. Callback method invoked when the TLS handshake fails.
| |
| handshakeSucceeded | back to summary |
|---|---|
| public void handshakeSucceeded(SslHandshakeListener. Overrides default org. Doc from org. Callback method invoked when the TLS handshake succeeds.
| |