Top Description Methods
org.apache.hc.core5.reactor.ssl

public Interface SSLSessionInitializer

Imports
javax.net.ssl.SSLEngine, org.apache.hc.core5.net.NamedEndpoint

Callback interface that can be used to customize TLS/SSL session initialization.
Since
4.2

Method Summary

Modifier and TypeMethod and Description
public void
initialize(NamedEndpoint
the endpoint name for a client side session or null for a server side session.
endpoint
,
SSLEngine
the SSL engine.
sslEngine
)

Triggered when the SSL connection is being initialized.

Method Detail

initializeback to summary
public void initialize(NamedEndpoint endpoint, SSLEngine sslEngine)

Triggered when the SSL connection is being initialized. Custom handlers can use this callback to customize properties of the javax.net.ssl.SSLEngine used to establish the SSL session.

Parameters
endpoint:NamedEndpoint

the endpoint name for a client side session or null for a server side session.

sslEngine:SSLEngine

the SSL engine.