Class HttpClientBuilder


  • public class HttpClientBuilder
    extends Object
    Abstraction for creating HttpClients. Allows SSL configuration.
    Author:
    Bill Burke, Farah Juma
    • Field Detail

      • truststore

        private KeyStore truststore
      • disableTrustManager

        private boolean disableTrustManager
      • disableCookieCache

        private boolean disableCookieCache
      • clientKeyStore

        private KeyStore clientKeyStore
      • clientPrivateKeyPassword

        private String clientPrivateKeyPassword
      • connectionPoolSize

        private int connectionPoolSize
      • maxPooledPerRoute

        protected int maxPooledPerRoute
      • proxyHost

        private org.apache.http.HttpHost proxyHost
      • connectionTimeToLive

        private long connectionTimeToLive
      • connectionTimeToLiveUnit

        private TimeUnit connectionTimeToLiveUnit
      • socketTimeout

        private long socketTimeout
      • socketTimeoutUnits

        private TimeUnit socketTimeoutUnits
      • establishConnectionTimeout

        private long establishConnectionTimeout
      • establishConnectionTimeoutUnits

        private TimeUnit establishConnectionTimeoutUnits
    • Constructor Detail

      • HttpClientBuilder

        public HttpClientBuilder()