Package io.undertow.protocols.alpn
Interface ALPNEngineManager
- All Known Implementing Classes:
DefaultAlpnEngineManager,SNIAlpnEngineManager
public interface ALPNEngineManager
-
Method Summary
Modifier and TypeMethodDescriptionintbooleanregisterEngine(SSLEngine engine, Function<SSLEngine, SSLEngine> selectedFunction)
-
Method Details
-
getPriority
int getPriority()- Returns:
- The priority of this provider, higher priority managers will be tried first
-
registerEngine
- 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
-