public final class OpenSslDefaultApplicationProtocolNegotiator extends Object implements OpenSslApplicationProtocolNegotiator
ApplicationProtocolNegotiator
for ALPN and NPN.Constructor and Description |
---|
OpenSslDefaultApplicationProtocolNegotiator(ApplicationProtocolConfig config) |
Modifier and Type | Method and Description |
---|---|
ApplicationProtocolConfig.Protocol |
protocol()
Returns the
ApplicationProtocolConfig.Protocol which should be used. |
List<String> |
protocols()
Get the collection of application protocols supported by this application (in preference order).
|
ApplicationProtocolConfig.SelectedListenerFailureBehavior |
selectedListenerFailureBehavior()
Get the desired behavior for the peer who is notified of the selected protocol.
|
ApplicationProtocolConfig.SelectorFailureBehavior |
selectorFailureBehavior()
Get the desired behavior for the peer who selects the application protocol.
|
public OpenSslDefaultApplicationProtocolNegotiator(ApplicationProtocolConfig config)
public List<String> protocols()
ApplicationProtocolNegotiator
protocols
in interface ApplicationProtocolNegotiator
public ApplicationProtocolConfig.Protocol protocol()
OpenSslApplicationProtocolNegotiator
ApplicationProtocolConfig.Protocol
which should be used.protocol
in interface OpenSslApplicationProtocolNegotiator
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.