Package io.undertow.protocols.ssl
Class SNIAlpnEngineManager
- java.lang.Object
-
- io.undertow.protocols.ssl.SNIAlpnEngineManager
-
- All Implemented Interfaces:
ALPNEngineManager
public class SNIAlpnEngineManager extends Object implements ALPNEngineManager
-
-
Constructor Summary
Constructors Constructor Description SNIAlpnEngineManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPriority()booleanregisterEngine(SSLEngine engine, Function<SSLEngine,SSLEngine> selectedFunction)
-
-
-
Method Detail
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceALPNEngineManager- Returns:
- The priority of this provider, higher priority managers will be tried first
-
registerEngine
public boolean registerEngine(SSLEngine engine, Function<SSLEngine,SSLEngine> selectedFunction)
- Specified by:
registerEnginein interfaceALPNEngineManager- Parameters:
engine- The original SSL EngineselectedFunction- A function that must be called when the Underlying SSL engine has been selected. The return value of this callback may be a wrapped engine, which must replace the selected engine- Returns:
trueif the engine was registered, false otherwise
-
-