Module io.netty5.handler
Package io.netty5.handler.ssl
Class OpenSslNpnApplicationProtocolNegotiator
- java.lang.Object
-
- io.netty5.handler.ssl.OpenSslNpnApplicationProtocolNegotiator
-
- All Implemented Interfaces:
ApplicationProtocolNegotiator
,OpenSslApplicationProtocolNegotiator
@Deprecated public final class OpenSslNpnApplicationProtocolNegotiator extends Object implements OpenSslApplicationProtocolNegotiator
Deprecated.OpenSSLApplicationProtocolNegotiator
for NPN.
-
-
Constructor Summary
Constructors Constructor Description OpenSslNpnApplicationProtocolNegotiator(Iterable<String> protocols)
Deprecated.OpenSslNpnApplicationProtocolNegotiator(String... protocols)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApplicationProtocolConfig.Protocol
protocol()
Deprecated.Returns theApplicationProtocolConfig.Protocol
which should be used.List<String>
protocols()
Deprecated.Get the collection of application protocols supported by this application (in preference order).ApplicationProtocolConfig.SelectedListenerFailureBehavior
selectedListenerFailureBehavior()
Deprecated.Get the desired behavior for the peer who is notified of the selected protocol.ApplicationProtocolConfig.SelectorFailureBehavior
selectorFailureBehavior()
Deprecated.Get the desired behavior for the peer who selects the application protocol.
-
-
-
Method Detail
-
protocol
public ApplicationProtocolConfig.Protocol protocol()
Deprecated.Description copied from interface:OpenSslApplicationProtocolNegotiator
Returns theApplicationProtocolConfig.Protocol
which should be used.- Specified by:
protocol
in interfaceOpenSslApplicationProtocolNegotiator
-
protocols
public List<String> protocols()
Deprecated.Description copied from interface:ApplicationProtocolNegotiator
Get the collection of application protocols supported by this application (in preference order).- Specified by:
protocols
in interfaceApplicationProtocolNegotiator
-
selectorFailureBehavior
public ApplicationProtocolConfig.SelectorFailureBehavior selectorFailureBehavior()
Deprecated.Description copied from interface:OpenSslApplicationProtocolNegotiator
Get the desired behavior for the peer who selects the application protocol.- Specified by:
selectorFailureBehavior
in interfaceOpenSslApplicationProtocolNegotiator
-
selectedListenerFailureBehavior
public ApplicationProtocolConfig.SelectedListenerFailureBehavior selectedListenerFailureBehavior()
Deprecated.Description copied from interface:OpenSslApplicationProtocolNegotiator
Get the desired behavior for the peer who is notified of the selected protocol.- Specified by:
selectedListenerFailureBehavior
in interfaceOpenSslApplicationProtocolNegotiator
-
-