public interface ALPNProcessor
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ALPNProcessor.Client
Client-side interface used by ServiceLoader.
|
static interface |
ALPNProcessor.Server
Server-side interface used by ServiceLoader.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
appliesTo(javax.net.ssl.SSLEngine sslEngine)
Tests if this processor can be applied to the given SSLEngine.
|
default void |
configure(javax.net.ssl.SSLEngine sslEngine,
Connection connection)
Configures the given SSLEngine and the given Connection for ALPN.
|
default void |
init()
Initializes this ALPNProcessor
|
default void init()
java.lang.RuntimeException - if this processor is unavailable (e.g. missing dependencies or wrong JVM)default boolean appliesTo(javax.net.ssl.SSLEngine sslEngine)
sslEngine - the SSLEngine to checkdefault void configure(javax.net.ssl.SSLEngine sslEngine,
Connection connection)
sslEngine - the SSLEngine to configureconnection - the Connection to configurejava.lang.RuntimeException - if this processor cannot be configuredCopyright © 1995–2021 Webtide. All rights reserved.