Deprecated
as a consequence of JdkApplicationProtocolNegotiator being deprecated. See corresponding docs for further information.
JdkApplicationProtocolNegotiator classes to inherit from.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final JdkApplicationProtocolNegotiator. | |
| pack-priv static final JdkApplicationProtocolNegotiator. | |
| private final JdkApplicationProtocolNegotiator. | |
| pack-priv static final JdkApplicationProtocolNegotiator. | |
| pack-priv static final JdkApplicationProtocolNegotiator. | |
| private final List | |
| private final JdkApplicationProtocolNegotiator. | |
| private final JdkApplicationProtocolNegotiator. |
| Access | Constructor and Description |
|---|---|
| pack-priv | JdkBaseApplicationProtocolNegotiator(JdkApplicationProtocolNegotiator.
Determines which application protocol will be used by wrapping the SSLEngine in use. wrapperFactory,How the peer selecting the protocol should behave. selectorFactory,How the peer being notified of the selected protocol should behave. listenerFactory,The order of iteration determines the preference of support for protocols. protocols)Create a new instance. |
| pack-priv | JdkBaseApplicationProtocolNegotiator(JdkApplicationProtocolNegotiator.
Determines which application protocol will be used by wrapping the SSLEngine in use. wrapperFactory,How the peer selecting the protocol should behave. selectorFactory,How the peer being notified of the selected protocol should behave. listenerFactory,The order of iteration determines the preference of support for protocols. protocols)Create a new instance. |
| private | JdkBaseApplicationProtocolNegotiator(JdkApplicationProtocolNegotiator.
Determines which application protocol will be used by wrapping the SSLEngine in use. wrapperFactory,How the peer selecting the protocol should behave. selectorFactory,How the peer being notified of the selected protocol should behave. listenerFactory,The order of iteration determines the preference of support for protocols. protocols)Create a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public JdkApplicationProtocolNegotiator. | |
| public List | protocols()
Implements io. |
| public JdkApplicationProtocolNegotiator. | |
| public JdkApplicationProtocolNegotiator. |
| FAIL_SELECTION_LISTENER_FACTORY | back to summary |
|---|---|
| pack-priv static final JdkApplicationProtocolNegotiator. | |
| FAIL_SELECTOR_FACTORY | back to summary |
|---|---|
| pack-priv static final JdkApplicationProtocolNegotiator. | |
| listenerFactory | back to summary |
|---|---|
| private final JdkApplicationProtocolNegotiator. | |
| NO_FAIL_SELECTION_LISTENER_FACTORY | back to summary |
|---|---|
| pack-priv static final JdkApplicationProtocolNegotiator. | |
| NO_FAIL_SELECTOR_FACTORY | back to summary |
|---|---|
| pack-priv static final JdkApplicationProtocolNegotiator. | |
| protocols | back to summary |
|---|---|
| private final List<String> protocols | |
| selectorFactory | back to summary |
|---|---|
| private final JdkApplicationProtocolNegotiator. | |
| wrapperFactory | back to summary |
|---|---|
| private final JdkApplicationProtocolNegotiator. | |
| JdkBaseApplicationProtocolNegotiator | back to summary |
|---|---|
| pack-priv JdkBaseApplicationProtocolNegotiator(JdkApplicationProtocolNegotiator. Create a new instance.
| |
| JdkBaseApplicationProtocolNegotiator | back to summary |
|---|---|
| pack-priv JdkBaseApplicationProtocolNegotiator(JdkApplicationProtocolNegotiator. Create a new instance.
| |
| JdkBaseApplicationProtocolNegotiator | back to summary |
|---|---|
| private JdkBaseApplicationProtocolNegotiator(JdkApplicationProtocolNegotiator. Create a new instance.
| |
| protocolListenerFactory | back to summary |
|---|---|
| public JdkApplicationProtocolNegotiator. Implements io. Doc from io. Get the
| |
| protocols | back to summary |
|---|---|
| public List Implements io. Doc from io. Get the collection of application protocols supported by this application (in preference order).
| |
| protocolSelectorFactory | back to summary |
|---|---|
| public JdkApplicationProtocolNegotiator. Implements io. Doc from io. Get the
| |
| wrapperFactory | back to summary |
|---|---|
| public JdkApplicationProtocolNegotiator. Implements io. Doc from io. Get the
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| FailProtocolSelectionListener | back to summary |
|---|---|
| pack-priv FailProtocolSelectionListener(JdkSslEngine engineWrapper, List<String> supportedProtocols) | |
| noSelectedMatchFound | back to summary |
|---|---|
protected void noSelectedMatchFound(String protocol) throws Exception
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| FailProtocolSelector | back to summary |
|---|---|
| pack-priv FailProtocolSelector(JdkSslEngine engineWrapper, Set<String> supportedProtocols) | |
| noSelectMatchFound | back to summary |
|---|---|
| public String noSelectMatchFound() throws Exception Overrides io.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final JdkSslEngine | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public void | selected(String
the protocol selected by the peer. May be protocol)null or empty as supported by the
application negotiation protocol.Implements io. |
| public void | unsupported()
Implements io. ApplicationProtocolNegotiator.
|
| engineWrapper | back to summary |
|---|---|
| private final JdkSslEngine engineWrapper | |
| supportedProtocols | back to summary |
|---|---|
| private final List<String> supportedProtocols | |
| NoFailProtocolSelectionListener | back to summary |
|---|---|
| pack-priv NoFailProtocolSelectionListener(JdkSslEngine engineWrapper, List<String> supportedProtocols) | |
| noSelectedMatchFound | back to summary |
|---|---|
| protected void noSelectedMatchFound(String protocol) throws Exception | |
| selected | back to summary |
|---|---|
| public void selected(String protocol) throws Exception Implements io. Doc from io. Callback invoked to let this application know the protocol chosen by the peer.
| |
| unsupported | back to summary |
|---|---|
| public void unsupported() Implements io. Doc from io. Callback invoked to let the application know that the peer does not support this
| |
| Modifier and Type | Field and Description |
|---|---|
| private final JdkSslEngine | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | select(List<String>
the protocols sent by the protocol advertiser protocols)Implements io. protocols provided.
|
| public void | unsupported()
Implements io. ApplicationProtocolNegotiator.
|
| engineWrapper | back to summary |
|---|---|
| private final JdkSslEngine engineWrapper | |
| supportedProtocols | back to summary |
|---|---|
| private final Set<String> supportedProtocols | |
| NoFailProtocolSelector | back to summary |
|---|---|
| pack-priv NoFailProtocolSelector(JdkSslEngine engineWrapper, Set<String> supportedProtocols) | |
| noSelectMatchFound | back to summary |
|---|---|
| public String noSelectMatchFound() throws Exception | |
| select | back to summary |
|---|---|
| public String select(List<String> protocols) throws Exception Implements io. Doc from io. Callback invoked to select the application level protocol from the
| |
| unsupported | back to summary |
|---|---|
| public void unsupported() Implements io. Doc from io. Callback invoked to let the application know that the peer does not support this
| |