Top Inners Methods
org.eclipse.jetty.io.ssl

public Interface ALPNProcessor

Known Direct Subinterfaces
org.eclipse.jetty.io.ssl.ALPNProcessor.Server, org.eclipse.jetty.io.ssl.ALPNProcessor.Client
Imports
javax.net.ssl.SSLEngine, org.eclipse.jetty.io.Connection

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
ALPNProcessor.Client

Client-side interface used by ServiceLoader.

public static interface
ALPNProcessor.Server

Server-side interface used by ServiceLoader.

Method Summary

Modifier and TypeMethod and Description
public default boolean

Returns:

true if the processor can be applied to the given SSLEngine
appliesTo
(SSLEngine
the SSLEngine to check
sslEngine
)

Tests if this processor can be applied to the given SSLEngine.

public default void
configure(SSLEngine
the SSLEngine to configure
sslEngine
,
Connection
the Connection to configure
connection
)

Configures the given SSLEngine and the given Connection for ALPN.

public default void
init()

Initializes this ALPNProcessor

Method Detail

appliesToback to summary
public default boolean appliesTo(SSLEngine sslEngine)

Tests if this processor can be applied to the given SSLEngine.

Parameters
sslEngine:SSLEngine

the SSLEngine to check

Returns:boolean

true if the processor can be applied to the given SSLEngine

configureback to summary
public default void configure(SSLEngine sslEngine, Connection connection)

Configures the given SSLEngine and the given Connection for ALPN.

Parameters
sslEngine:SSLEngine

the SSLEngine to configure

connection:Connection

the Connection to configure

Exceptions
RuntimeException:
if this processor cannot be configured
initback to summary
public default void init()

Initializes this ALPNProcessor

Exceptions
RuntimeException:
if this processor is unavailable (e.g. missing dependencies or wrong JVM)
org.eclipse.jetty.io.ssl back to summary

public Interface ALPNProcessor.Client

extends ALPNProcessor

Client-side interface used by ServiceLoader.

Method Summary

Inherited from org.eclipse.jetty.io.ssl.ALPNProcessor:
appliesToconfigureinit
org.eclipse.jetty.io.ssl back to summary

public Interface ALPNProcessor.Server

extends ALPNProcessor

Server-side interface used by ServiceLoader.

Method Summary

Inherited from org.eclipse.jetty.io.ssl.ALPNProcessor:
appliesToconfigureinit