Package io.undertow.protocols.alpn
Interface ALPNEngineManager
-
- All Known Implementing Classes:
DefaultAlpnEngineManager
,SNIAlpnEngineManager
public interface ALPNEngineManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPriority()
boolean
registerEngine(javax.net.ssl.SSLEngine engine, java.util.function.Function<javax.net.ssl.SSLEngine,javax.net.ssl.SSLEngine> selectedFunction)
-
-
-
Method Detail
-
getPriority
int getPriority()
- Returns:
- The priority of this provider, higher priority managers will be tried first
-
registerEngine
boolean registerEngine(javax.net.ssl.SSLEngine engine, java.util.function.Function<javax.net.ssl.SSLEngine,javax.net.ssl.SSLEngine> selectedFunction)
- 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:
true
if the engine was registered, false otherwise
-
-