@ThreadSafe
public class SdkTLSSocketFactory
extends org.apache.http.conn.ssl.SSLSocketFactory
Constructor and Description |
---|
SdkTLSSocketFactory(SSLContext sslContext,
org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier) |
Modifier and Type | Method and Description |
---|---|
Socket |
connectSocket(Socket socket,
InetSocketAddress remoteAddress,
InetSocketAddress localAddress,
org.apache.http.params.HttpParams params) |
connectSocket, connectSocket, createLayeredSocket, createLayeredSocket, createLayeredSocket, createSocket, createSocket, createSocket, createSocket, getHostnameVerifier, getSocketFactory, getSystemSocketFactory, isSecure, setHostnameVerifier
public SdkTLSSocketFactory(SSLContext sslContext, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
public Socket connectSocket(Socket socket, InetSocketAddress remoteAddress, InetSocketAddress localAddress, org.apache.http.params.HttpParams params) throws IOException, UnknownHostException, org.apache.http.conn.ConnectTimeoutException
connectSocket
in interface org.apache.http.conn.scheme.SchemeSocketFactory
connectSocket
in class org.apache.http.conn.ssl.SSLSocketFactory
IOException
UnknownHostException
org.apache.http.conn.ConnectTimeoutException
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.