public class JettyAlpnProvider extends Object implements ALPNProvider
Constructor and Description |
---|
JettyAlpnProvider() |
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 |
String | toString() |
public boolean isEnabled(SSLEngine sslEngine)
isEnabled
in interface ALPNProvider
public SSLEngine setProtocols(SSLEngine engine, String[] protocols)
ALPNProvider
setProtocols
in interface ALPNProvider
engine
- The original engineprotocols
- The protocolspublic String getSelectedProtocol(SSLEngine engine)
ALPNProvider
getSelectedProtocol
in interface ALPNProvider
engine
- The SSL Enginepublic int getPriority()
getPriority
in interface ALPNProvider
Copyright © 2020 JBoss by Red Hat. All rights reserved.