public interface ALPNProvider
Modifier and Type | Method and 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 © 2017 JBoss by Red Hat. All rights reserved.