Class LenientSslConnectionSocketFactory

  • All Implemented Interfaces:
    org.apache.http.conn.socket.ConnectionSocketFactory, org.apache.http.conn.socket.LayeredConnectionSocketFactory

    public class LenientSslConnectionSocketFactory
    extends org.apache.http.conn.ssl.SSLConnectionSocketFactory
    in a separate package just for log level config consistency
    Author:
    pthomas3
    • Constructor Detail

      • LenientSslConnectionSocketFactory

        public LenientSslConnectionSocketFactory​(SSLContext sslContext,
                                                 HostnameVerifier hostnameVerifier)
    • Method Detail

      • createLayeredSocket

        public Socket createLayeredSocket​(Socket socket,
                                          String target,
                                          int port,
                                          org.apache.http.protocol.HttpContext context)
                                   throws IOException
        Specified by:
        createLayeredSocket in interface org.apache.http.conn.socket.LayeredConnectionSocketFactory
        Overrides:
        createLayeredSocket in class org.apache.http.conn.ssl.SSLConnectionSocketFactory
        Throws:
        IOException