Deprecated
JdkApplicationProtocolNegotiator to use if you need ALPN and are using SslProvider#JDK.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final JdkApplicationProtocolNegotiator. | |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| public | JdkAlpnApplicationProtocolNegotiator(Iterable<String>
The order of iteration determines the preference of support for protocols. protocols)Create a new instance. |
| public | JdkAlpnApplicationProtocolNegotiator(String...
The order of iteration determines the preference of support for protocols. protocols)Create a new instance. |
| public | JdkAlpnApplicationProtocolNegotiator(boolean
Fail with a fatal alert if not common protocols are detected. failIfNoCommonProtocols, Iterable<String> The order of iteration determines the preference of support for protocols. protocols)Create a new instance. |
| public | JdkAlpnApplicationProtocolNegotiator(boolean
Fail with a fatal alert if not common protocols are detected. failIfNoCommonProtocols, String... The order of iteration determines the preference of support for protocols. protocols)Create a new instance. |
| public | JdkAlpnApplicationProtocolNegotiator(boolean
Client side fail with a fatal alert if not common protocols are detected. clientFailIfNoCommonProtocols, boolean Server side fail with a fatal alert if not common protocols are detected. serverFailIfNoCommonProtocols, Iterable<String> The order of iteration determines the preference of support for protocols. protocols)Create a new instance. |
| public | JdkAlpnApplicationProtocolNegotiator(boolean
Client side fail with a fatal alert if not common protocols are detected. clientFailIfNoCommonProtocols, boolean Server side fail with a fatal alert if not common protocols are detected. serverFailIfNoCommonProtocols, String... The order of iteration determines the preference of support for protocols. protocols)Create a new instance. |
| public | JdkAlpnApplicationProtocolNegotiator(JdkApplicationProtocolNegotiator.
The factory which provides classes responsible for selecting the protocol. selectorFactory,The factory which provides to be notified of which protocol was selected. listenerFactory,The order of iteration determines the preference of support for protocols. protocols)Create a new instance. |
| public | JdkAlpnApplicationProtocolNegotiator(JdkApplicationProtocolNegotiator.
The factory which provides classes responsible for selecting the protocol. selectorFactory,The factory which provides to be notified of which protocol was selected. listenerFactory,The order of iteration determines the preference of support for protocols. protocols)Create a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static boolean |
| ALPN_WRAPPER | back to summary |
|---|---|
| private static final JdkApplicationProtocolNegotiator. | |
| AVAILABLE | back to summary |
|---|---|
| private static final boolean AVAILABLE | |
| JdkAlpnApplicationProtocolNegotiator | back to summary |
|---|---|
| public JdkAlpnApplicationProtocolNegotiator(Iterable<String> protocols) Create a new instance. | |
| JdkAlpnApplicationProtocolNegotiator | back to summary |
|---|---|
| public JdkAlpnApplicationProtocolNegotiator(String... protocols) Create a new instance.
| |
| JdkAlpnApplicationProtocolNegotiator | back to summary |
|---|---|
| public JdkAlpnApplicationProtocolNegotiator(boolean failIfNoCommonProtocols, Iterable<String> protocols) Create a new instance. | |
| JdkAlpnApplicationProtocolNegotiator | back to summary |
|---|---|
| public JdkAlpnApplicationProtocolNegotiator(boolean failIfNoCommonProtocols, String... protocols) Create a new instance.
| |
| JdkAlpnApplicationProtocolNegotiator | back to summary |
|---|---|
| public JdkAlpnApplicationProtocolNegotiator(boolean clientFailIfNoCommonProtocols, boolean serverFailIfNoCommonProtocols, Iterable<String> protocols) Create a new instance.
| |
| JdkAlpnApplicationProtocolNegotiator | back to summary |
|---|---|
| public JdkAlpnApplicationProtocolNegotiator(boolean clientFailIfNoCommonProtocols, boolean serverFailIfNoCommonProtocols, String... protocols) Create a new instance.
| |
| JdkAlpnApplicationProtocolNegotiator | back to summary |
|---|---|
| public JdkAlpnApplicationProtocolNegotiator(JdkApplicationProtocolNegotiator. Create a new instance.
| |
| JdkAlpnApplicationProtocolNegotiator | back to summary |
|---|---|
| public JdkAlpnApplicationProtocolNegotiator(JdkApplicationProtocolNegotiator. Create a new instance.
| |
| isAlpnSupported | back to summary |
|---|---|
| pack-priv static boolean isAlpnSupported() | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public SSLEngine | wrapSslEngine(SSLEngine
The engine to wrap. engine, BufferAllocator the buffer allocator. alloc, JdkApplicationProtocolNegotiator The application level protocol negotiator applicationNegotiator, boolean
Implements abstract io.
Deprecated
as a consequence of
Abstract factory pattern for wrapping an JdkApplicationProtocolNegotiator being deprecated.
SSLEngine object.
|
| AlpnWrapper | back to summary |
|---|---|
| private AlpnWrapper() | |
| wrapSslEngine | back to summary |
|---|---|
| public SSLEngine wrapSslEngine(SSLEngine engine, BufferAllocator alloc, JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer) Implements abstract io. Deprecated as a consequence of Abstract factory pattern for wrapping an
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public SSLEngine | wrapSslEngine(SSLEngine
The engine to wrap. engine, BufferAllocator the buffer allocator. alloc, JdkApplicationProtocolNegotiator The application level protocol negotiator applicationNegotiator, boolean
Implements abstract io.
Deprecated
as a consequence of
Abstract factory pattern for wrapping an JdkApplicationProtocolNegotiator being deprecated.
SSLEngine object.
|
| FailureWrapper | back to summary |
|---|---|
| private FailureWrapper() | |
| wrapSslEngine | back to summary |
|---|---|
| public SSLEngine wrapSslEngine(SSLEngine engine, BufferAllocator alloc, JdkApplicationProtocolNegotiator applicationNegotiator, boolean isServer) Implements abstract io. Deprecated as a consequence of Abstract factory pattern for wrapping an
| |