Class JDK9ServerALPNProcessor
- java.lang.Object
-
- org.eclipse.jetty.alpn.java.server.JDK9ServerALPNProcessor
-
- All Implemented Interfaces:
java.util.EventListener,ALPNProcessor,ALPNProcessor.Server,SslHandshakeListener
public class JDK9ServerALPNProcessor extends java.lang.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
Constructors Constructor Description JDK9ServerALPNProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanappliesTo(javax.net.ssl.SSLEngine sslEngine)Tests if this processor can be applied to the given SSLEngine.voidconfigure(javax.net.ssl.SSLEngine sslEngine, Connection connection)Configures the given SSLEngine and the given Connection for ALPN.voidinit()Initializes this ALPNProcessor-
Methods 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
-
-
-
-
Method Detail
-
init
public void init()
Description copied from interface:ALPNProcessorInitializes this ALPNProcessor- Specified by:
initin interfaceALPNProcessor
-
appliesTo
public boolean appliesTo(javax.net.ssl.SSLEngine sslEngine)
Description copied from interface:ALPNProcessorTests if this processor can be applied to the given SSLEngine.- Specified by:
appliesToin interfaceALPNProcessor- Parameters:
sslEngine- the SSLEngine to check- Returns:
- true if the processor can be applied to the given SSLEngine
-
configure
public void configure(javax.net.ssl.SSLEngine sslEngine, Connection connection)Description copied from interface:ALPNProcessorConfigures the given SSLEngine and the given Connection for ALPN.- Specified by:
configurein interfaceALPNProcessor- Parameters:
sslEngine- the SSLEngine to configureconnection- the Connection to configure
-
-