Top Constructors Methods
io.undertow.protocols.ssl

public Class SNIAlpnEngineManager

extends Object
implements ALPNEngineManager
Class Inheritance
All Implemented Interfaces
io.undertow.protocols.alpn.ALPNEngineManager
Imports
java.util.function.Function, javax.net.ssl.SSLEngine, io.undertow.protocols.alpn.ALPNEngineManager

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public boolean
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
)

Implements io.undertow.protocols.alpn.ALPNEngineManager.registerEngine.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SNIAlpnEngineManagerback to summary
public SNIAlpnEngineManager()

Method Detail

getPriorityback to summary
public int getPriority()

Implements io.undertow.protocols.alpn.ALPNEngineManager.getPriority.

Returns:int

Doc from io.undertow.protocols.alpn.ALPNEngineManager.getPriority.

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

Annotations
@Override
registerEngineback to summary
public boolean registerEngine(SSLEngine engine, Function<SSLEngine, SSLEngine> selectedFunction)

Implements io.undertow.protocols.alpn.ALPNEngineManager.registerEngine.

Parameters
engine:SSLEngine

Doc from io.undertow.protocols.alpn.ALPNEngineManager.registerEngine.

The original SSL Engine

selectedFunction:Function<SSLEngine, SSLEngine>

Doc from io.undertow.protocols.alpn.ALPNEngineManager.registerEngine.

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

Doc from io.undertow.protocols.alpn.ALPNEngineManager.registerEngine.

true if the engine was registered, false otherwise

Annotations
@Override