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