Package net.snowflake.client.core
Class SFSSLConnectionSocketFactory
- java.lang.Object
-
- org.apache.http.conn.ssl.SSLConnectionSocketFactory
-
- net.snowflake.client.core.SFSSLConnectionSocketFactory
-
- All Implemented Interfaces:
org.apache.http.conn.socket.ConnectionSocketFactory,org.apache.http.conn.socket.LayeredConnectionSocketFactory
public class SFSSLConnectionSocketFactory extends org.apache.http.conn.ssl.SSLConnectionSocketFactorySnowflake custom SSLConnectionSocketFactory
-
-
Constructor Summary
Constructors Constructor Description SFSSLConnectionSocketFactory(TrustManager[] trustManagers, boolean socksProxyDisabled)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketcreateSocket(org.apache.http.protocol.HttpContext ctx)static voidsetMaxTlsVersion(String maxTlsVersion)static voidsetMinTlsVersion(String minTlsVersion)
-
-
-
Constructor Detail
-
SFSSLConnectionSocketFactory
public SFSSLConnectionSocketFactory(TrustManager[] trustManagers, boolean socksProxyDisabled) throws NoSuchAlgorithmException, KeyManagementException
-
-
Method Detail
-
createSocket
public Socket createSocket(org.apache.http.protocol.HttpContext ctx) throws IOException
- Specified by:
createSocketin interfaceorg.apache.http.conn.socket.ConnectionSocketFactory- Overrides:
createSocketin classorg.apache.http.conn.ssl.SSLConnectionSocketFactory- Throws:
IOException
-
setMinTlsVersion
public static void setMinTlsVersion(String minTlsVersion)
-
setMaxTlsVersion
public static void setMaxTlsVersion(String maxTlsVersion)
-
-