Class HttpAPIClientHelper.CustomSSLConnectionFactory
java.lang.Object
org.apache.hc.client5.http.ssl.SSLConnectionSocketFactory
com.clickhouse.client.api.internal.HttpAPIClientHelper.CustomSSLConnectionFactory
- All Implemented Interfaces:
org.apache.hc.client5.http.socket.ConnectionSocketFactory,org.apache.hc.client5.http.socket.LayeredConnectionSocketFactory
- Enclosing class:
- HttpAPIClientHelper
public static class HttpAPIClientHelper.CustomSSLConnectionFactory
extends org.apache.hc.client5.http.ssl.SSLConnectionSocketFactory
-
Constructor Summary
ConstructorsConstructorDescriptionCustomSSLConnectionFactory(String defaultSNI, SSLContext sslContext, HostnameVerifier hostnameVerifier) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprepareSocket(SSLSocket socket, org.apache.hc.core5.http.protocol.HttpContext context) Methods inherited from class org.apache.hc.client5.http.ssl.SSLConnectionSocketFactory
connectSocket, connectSocket, connectSocket, createLayeredSocket, createLayeredSocket, createSocket, createSocket, getSocketFactory, getSystemSocketFactory, prepareSocket, verifySession
-
Constructor Details
-
CustomSSLConnectionFactory
public CustomSSLConnectionFactory(String defaultSNI, SSLContext sslContext, HostnameVerifier hostnameVerifier)
-
-
Method Details
-
prepareSocket
protected void prepareSocket(SSLSocket socket, org.apache.hc.core5.http.protocol.HttpContext context) throws IOException - Overrides:
prepareSocketin classorg.apache.hc.client5.http.ssl.SSLConnectionSocketFactory- Throws:
IOException
-