Class HttpComponent4_2Factory


  • public class HttpComponent4_2Factory
    extends HttpClientFactory
    使用Apache的HttpClient>=4.3
    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    • Constructor Detail

      • HttpComponent4_2Factory

        public HttpComponent4_2Factory()
      • HttpComponent4_2Factory

        public HttpComponent4_2Factory​(org.apache.http.impl.client.HttpClientBuilder clientBuilder)
    • Method Detail

      • setDefaultConnectionConfig

        public HttpComponent4_2Factory setDefaultConnectionConfig​(org.apache.http.config.ConnectionConfig connectionConfig)
      • setDefaultSocketConfig

        public HttpComponent4_2Factory setDefaultSocketConfig​(org.apache.http.config.SocketConfig socketConfig)
      • setConnectionManager

        public HttpComponent4_2Factory setConnectionManager​(org.apache.http.conn.HttpClientConnectionManager connectionManager)
      • setHttpProcessor

        public HttpComponent4_2Factory setHttpProcessor​(org.apache.http.protocol.HttpProcessor httpprocessor)
      • retryHandler

        public HttpComponent4_2Factory retryHandler​(org.apache.http.client.HttpRequestRetryHandler retryHandler)