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

    Constructors
    Constructor
    Description
    SdkTlsSocketFactory(SSLContext sslContext, HostnameVerifier hostnameVerifier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    connectSocket(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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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 interface org.apache.http.conn.socket.ConnectionSocketFactory
      Overrides:
      connectSocket in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
      Throws:
      IOException