@Deprecated public final class OpenSslNpnApplicationProtocolNegotiator extends Object implements OpenSslApplicationProtocolNegotiator
ApplicationProtocolNegotiator
for NPN.Constructor and Description |
---|
OpenSslNpnApplicationProtocolNegotiator(Iterable<String> protocols)
Deprecated.
|
OpenSslNpnApplicationProtocolNegotiator(String... protocols)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ApplicationProtocolConfig.Protocol |
protocol()
Deprecated.
Returns the
ApplicationProtocolConfig.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.
|
public OpenSslNpnApplicationProtocolNegotiator(Iterable<String> protocols)
public OpenSslNpnApplicationProtocolNegotiator(String... protocols)
public ApplicationProtocolConfig.Protocol protocol()
OpenSslApplicationProtocolNegotiator
ApplicationProtocolConfig.Protocol
which should be used.protocol
in interface OpenSslApplicationProtocolNegotiator
public List<String> protocols()
ApplicationProtocolNegotiator
protocols
in interface ApplicationProtocolNegotiator
public ApplicationProtocolConfig.SelectorFailureBehavior selectorFailureBehavior()
OpenSslApplicationProtocolNegotiator
selectorFailureBehavior
in interface OpenSslApplicationProtocolNegotiator
public ApplicationProtocolConfig.SelectedListenerFailureBehavior selectedListenerFailureBehavior()
OpenSslApplicationProtocolNegotiator
selectedListenerFailureBehavior
in interface OpenSslApplicationProtocolNegotiator
Copyright © 2008–2017 The Netty Project. All rights reserved.