Class JDK9ServerALPNProcessor
java.lang.Object
org.eclipse.jetty.alpn.java.server.JDK9ServerALPNProcessor
- All Implemented Interfaces:
EventListener
,ALPNProcessor
,ALPNProcessor.Server
,SslHandshakeListener
public class JDK9ServerALPNProcessor
extends Object
implements ALPNProcessor.Server, SslHandshakeListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ssl.ALPNProcessor
ALPNProcessor.Client, ALPNProcessor.Server
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ssl.SslHandshakeListener
SslHandshakeListener.Event
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Tests if this processor can be applied to the given SSLEngine.void
configure
(SSLEngine sslEngine, Connection connection) Configures the given SSLEngine and the given Connection for ALPN.void
init()
Initializes this ALPNProcessorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.io.ssl.SslHandshakeListener
handshakeFailed, handshakeSucceeded
-
Constructor Details
-
JDK9ServerALPNProcessor
public JDK9ServerALPNProcessor()
-
-
Method Details
-
init
public void init()Description copied from interface:ALPNProcessor
Initializes this ALPNProcessor- Specified by:
init
in interfaceALPNProcessor
-
appliesTo
Description copied from interface:ALPNProcessor
Tests if this processor can be applied to the given SSLEngine.- Specified by:
appliesTo
in interfaceALPNProcessor
- Parameters:
sslEngine
- the SSLEngine to check- Returns:
- true if the processor can be applied to the given SSLEngine
-
configure
Description copied from interface:ALPNProcessor
Configures the given SSLEngine and the given Connection for ALPN.- Specified by:
configure
in interfaceALPNProcessor
- Parameters:
sslEngine
- the SSLEngine to configureconnection
- the Connection to configure
-