private static final class StandardALPNProcessor.ProtocolSelector extends Object implements BiFunction<SSLEngine,List<String>,String>, org.eclipse.jetty.io.ssl.SslHandshakeListener
| Modifier and Type | Field and Description |
|---|---|
private org.eclipse.jetty.alpn.server.ALPNServerConnection |
serverConnection |
| Modifier | Constructor and Description |
|---|---|
private |
ProtocolSelector(org.eclipse.jetty.alpn.server.ALPNServerConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(SSLEngine sslEngine,
List<String> protocols)
Select supported Application Layer Protocol based on requested protocols
|
void |
handshakeFailed(org.eclipse.jetty.io.ssl.SslHandshakeListener.Event event,
Throwable failure)
Handle for failed handshake logs status
|
void |
handshakeSucceeded(org.eclipse.jetty.io.ssl.SslHandshakeListener.Event event)
Handler for successful handshake checks for selected Application Layer Protocol
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenprivate final org.eclipse.jetty.alpn.server.ALPNServerConnection serverConnection
private ProtocolSelector(org.eclipse.jetty.alpn.server.ALPNServerConnection connection)
public String apply(SSLEngine sslEngine, List<String> protocols)
public void handshakeSucceeded(org.eclipse.jetty.io.ssl.SslHandshakeListener.Event event)
handshakeSucceeded in interface org.eclipse.jetty.io.ssl.SslHandshakeListenerevent - Event is not usedpublic void handshakeFailed(org.eclipse.jetty.io.ssl.SslHandshakeListener.Event event,
Throwable failure)
handshakeFailed in interface org.eclipse.jetty.io.ssl.SslHandshakeListenerevent - Event is not usedfailure - Failure cause to be loggedCopyright © 2022 Apache NiFi Project. All rights reserved.