Package org.apache.hc.core5.reactor.ssl
Interface SSLSessionInitializer
-
public interface SSLSessionInitializerCallback interface that can be used to customize TLS/SSL session initialization.- Since:
- 4.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinitialize(NamedEndpoint endpoint, javax.net.ssl.SSLEngine sslEngine)Triggered when the SSL connection is being initialized.
-
-
-
Method Detail
-
initialize
void initialize(NamedEndpoint endpoint, javax.net.ssl.SSLEngine sslEngine)
Triggered when the SSL connection is being initialized. Custom handlers can use this callback to customize properties of theSSLEngineused to establish the SSL session.- Parameters:
endpoint- the endpoint name for a client side session ornullfor a server side session.sslEngine- the SSL engine.
-
-