Class SdkTlsSocketFactory
java.lang.Object
org.apache.http.conn.ssl.SSLConnectionSocketFactory
software.amazon.awssdk.http.apache.internal.conn.SdkTlsSocketFactory
- All Implemented Interfaces:
org.apache.http.conn.socket.ConnectionSocketFactory
,org.apache.http.conn.socket.LayeredConnectionSocketFactory
public class SdkTlsSocketFactory
extends org.apache.http.conn.ssl.SSLConnectionSocketFactory
-
Field Summary
Fields inherited from class org.apache.http.conn.ssl.SSLConnectionSocketFactory
ALLOW_ALL_HOSTNAME_VERIFIER, BROWSER_COMPATIBLE_HOSTNAME_VERIFIER, SSL, SSLV2, STRICT_HOSTNAME_VERIFIER, TLS
-
Constructor Summary
ConstructorDescriptionSdkTlsSocketFactory
(SSLContext sslContext, HostnameVerifier hostnameVerifier) -
Method Summary
Modifier and TypeMethodDescriptionconnectSocket
(int connectTimeout, Socket socket, org.apache.http.HttpHost host, InetSocketAddress remoteAddress, InetSocketAddress localAddress, org.apache.http.protocol.HttpContext context) Methods inherited from class org.apache.http.conn.ssl.SSLConnectionSocketFactory
createLayeredSocket, createSocket, getDefaultHostnameVerifier, getSocketFactory, getSystemSocketFactory
-
Constructor Details
-
SdkTlsSocketFactory
-
-
Method Details
-
connectSocket
public Socket connectSocket(int connectTimeout, Socket socket, org.apache.http.HttpHost host, InetSocketAddress remoteAddress, InetSocketAddress localAddress, org.apache.http.protocol.HttpContext context) throws IOException - Specified by:
connectSocket
in interfaceorg.apache.http.conn.socket.ConnectionSocketFactory
- Overrides:
connectSocket
in classorg.apache.http.conn.ssl.SSLConnectionSocketFactory
- Throws:
IOException
-