Top Methods
io.undertow.protocols.alpn

public Interface ALPNEngineManager

Known Direct Implementers
io.undertow.protocols.alpn.DefaultAlpnEngineManager, io.undertow.protocols.ssl.SNIAlpnEngineManager
Imports
java.util.function.Function, javax.net.ssl.SSLEngine

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The priority of this provider, higher priority managers will be tried first
getPriority
()

public boolean

Returns:

true if the engine was registered, false otherwise
registerEngine
(SSLEngine
The original SSL Engine
engine
,
Function<SSLEngine, SSLEngine>
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
selectedFunction
)

Method Detail

getPriorityback to summary
public int getPriority()
Returns:int

The priority of this provider, higher priority managers will be tried first

registerEngineback to summary
public boolean registerEngine(SSLEngine engine, Function<SSLEngine, SSLEngine> selectedFunction)
Parameters
engine:SSLEngine

The original SSL Engine

selectedFunction:Function<SSLEngine, SSLEngine>

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:boolean

true if the engine was registered, false otherwise