Class ExtendedConnectionOperator

  • All Implemented Interfaces:
    org.apache.http.conn.HttpClientConnectionOperator

    public class ExtendedConnectionOperator
    extends java.lang.Object
    implements org.apache.http.conn.HttpClientConnectionOperator
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtendedConnectionOperator​(org.apache.http.config.Lookup<org.apache.http.conn.socket.ConnectionSocketFactory> socketFactoryRegistry, org.apache.http.conn.SchemePortResolver schemePortResolver, org.apache.http.conn.DnsResolver dnsResolver)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void connect​(org.apache.http.conn.ManagedHttpClientConnection connection, org.apache.http.HttpHost host, java.net.InetSocketAddress localAddress, int connectTimeout, org.apache.http.config.SocketConfig socketConfig, org.apache.http.protocol.HttpContext context)  
      static void setResolvedAddresses​(org.apache.http.protocol.HttpContext context, org.apache.http.HttpHost host, java.net.InetAddress[] addresses)  
      void upgrade​(org.apache.http.conn.ManagedHttpClientConnection connection, org.apache.http.HttpHost host, org.apache.http.protocol.HttpContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtendedConnectionOperator

        public ExtendedConnectionOperator​(org.apache.http.config.Lookup<org.apache.http.conn.socket.ConnectionSocketFactory> socketFactoryRegistry,
                                          org.apache.http.conn.SchemePortResolver schemePortResolver,
                                          org.apache.http.conn.DnsResolver dnsResolver)
    • Method Detail

      • setResolvedAddresses

        public static void setResolvedAddresses​(org.apache.http.protocol.HttpContext context,
                                                org.apache.http.HttpHost host,
                                                java.net.InetAddress[] addresses)
      • connect

        public void connect​(org.apache.http.conn.ManagedHttpClientConnection connection,
                            org.apache.http.HttpHost host,
                            java.net.InetSocketAddress localAddress,
                            int connectTimeout,
                            org.apache.http.config.SocketConfig socketConfig,
                            org.apache.http.protocol.HttpContext context)
                     throws java.io.IOException
        Specified by:
        connect in interface org.apache.http.conn.HttpClientConnectionOperator
        Throws:
        java.io.IOException
      • upgrade

        public void upgrade​(org.apache.http.conn.ManagedHttpClientConnection connection,
                            org.apache.http.HttpHost host,
                            org.apache.http.protocol.HttpContext context)
                     throws java.io.IOException
        Specified by:
        upgrade in interface org.apache.http.conn.HttpClientConnectionOperator
        Throws:
        java.io.IOException