JDK8HackAlpnProvider
, JDK9AlpnProvider
, JettyAlpnProvider
, OpenSSLAlpnProvider
public interface ALPNProvider
Modifier and Type | Method | Description |
---|---|---|
int |
getPriority() |
|
String |
getSelectedProtocol(SSLEngine engine) |
Gets the selected ALPN protocol, of null if none was selected.
|
boolean |
isEnabled(SSLEngine sslEngine) |
|
SSLEngine |
setProtocols(SSLEngine engine,
String[] protocols) |
Sets the SSL protocols, and potentially wraps the SSLEngine
|
boolean isEnabled(SSLEngine sslEngine)
SSLEngine setProtocols(SSLEngine engine, String[] protocols)
engine
- The original engineprotocols
- The protocolsString getSelectedProtocol(SSLEngine engine)
engine
- The SSL Engineint getPriority()
Copyright © 2018. All rights reserved.