@Deprecated public final class OpenSslDefaultApplicationProtocolNegotiator extends java.lang.Object implements OpenSslApplicationProtocolNegotiator
ApplicationProtocolNegotiator
for ALPN and NPN.构造器和说明 |
---|
OpenSslDefaultApplicationProtocolNegotiator(ApplicationProtocolConfig config)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
ApplicationProtocolConfig.Protocol |
protocol()
已过时。
Returns the
ApplicationProtocolConfig.Protocol which should be used. |
java.util.List<java.lang.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 java.util.List<java.lang.String> protocols()
ApplicationProtocolNegotiator
protocols
在接口中 ApplicationProtocolNegotiator
public ApplicationProtocolConfig.Protocol protocol()
OpenSslApplicationProtocolNegotiator
ApplicationProtocolConfig.Protocol
which should be used.protocol
在接口中 OpenSslApplicationProtocolNegotiator
public ApplicationProtocolConfig.SelectorFailureBehavior selectorFailureBehavior()
OpenSslApplicationProtocolNegotiator
public ApplicationProtocolConfig.SelectedListenerFailureBehavior selectedListenerFailureBehavior()
OpenSslApplicationProtocolNegotiator