public interface SslEngineFactory
| Modifier and Type | Method and Description |
|---|---|
default void |
init(AsyncHttpClientConfig config)
Perform any necessary one-time configuration.
|
SSLEngine |
newSslEngine(AsyncHttpClientConfig config,
String peerHost,
int peerPort)
Creates new
SSLEngine. |
SSLEngine newSslEngine(AsyncHttpClientConfig config, String peerHost, int peerPort)
SSLEngine.config - the client configpeerHost - the peer hostnamepeerPort - the peer portdefault void init(AsyncHttpClientConfig config) throws SSLException
newSslEngine is called
for the first time.config - the client configSSLException - if initialization fails. If an exception is thrown, the instance will not be used as client
creation will fail.Copyright © 2017. All Rights Reserved.