Package org.eclipse.jetty.io.ssl
Interface ALPNProcessor
-
- All Known Subinterfaces:
ALPNProcessor.Client,ALPNProcessor.Server
@Deprecated(since="2021-05-27") public interface ALPNProcessorDeprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceALPNProcessor.ClientDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.static interfaceALPNProcessor.ServerDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default booleanappliesTo(javax.net.ssl.SSLEngine sslEngine)Deprecated.Tests if this processor can be applied to the given SSLEngine.default voidconfigure(javax.net.ssl.SSLEngine sslEngine, Connection connection)Deprecated.Configures the given SSLEngine and the given Connection for ALPN.default voidinit()Deprecated.Initializes this ALPNProcessor
-
-
-
Method Detail
-
init
default void init()
Deprecated.Initializes this ALPNProcessor- Throws:
java.lang.RuntimeException- if this processor is unavailable (e.g. missing dependencies or wrong JVM)
-
appliesTo
default boolean appliesTo(javax.net.ssl.SSLEngine sslEngine)
Deprecated.Tests if this processor can be applied to the given SSLEngine.- Parameters:
sslEngine- the SSLEngine to check- Returns:
- true if the processor can be applied to the given SSLEngine
-
configure
default void configure(javax.net.ssl.SSLEngine sslEngine, Connection connection)Deprecated.Configures the given SSLEngine and the given Connection for ALPN.- Parameters:
sslEngine- the SSLEngine to configureconnection- the Connection to configure- Throws:
java.lang.RuntimeException- if this processor cannot be configured
-
-