@Deprecated public final class OpenSslNpnApplicationProtocolNegotiator extends java.lang.Object implements OpenSslApplicationProtocolNegotiator
ApplicationProtocolNegotiator
for NPN.构造器和说明 |
---|
OpenSslNpnApplicationProtocolNegotiator(java.lang.Iterable<java.lang.String> protocols)
已过时。
|
OpenSslNpnApplicationProtocolNegotiator(java.lang.String... protocols)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
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 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
在接口中 OpenSslApplicationProtocolNegotiator
public java.util.List<java.lang.String> protocols()
ApplicationProtocolNegotiator
protocols
在接口中 ApplicationProtocolNegotiator
public ApplicationProtocolConfig.SelectorFailureBehavior selectorFailureBehavior()
OpenSslApplicationProtocolNegotiator
public ApplicationProtocolConfig.SelectedListenerFailureBehavior selectedListenerFailureBehavior()
OpenSslApplicationProtocolNegotiator