Class HttpClientBuilder

java.lang.Object
org.keycloak.connections.httpclient.HttpClientBuilder

public class HttpClientBuilder extends Object
Abstraction for creating HttpClients. Allows SSL configuration.
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • truststore

      protected KeyStore truststore
    • clientKeyStore

      protected KeyStore clientKeyStore
    • clientPrivateKeyPassword

      protected String clientPrivateKeyPassword
    • disableTrustManager

      protected boolean disableTrustManager
    • policy

    • sslContext

      protected SSLContext sslContext
    • connectionPoolSize

      protected int connectionPoolSize
    • maxPooledPerRoute

      protected int maxPooledPerRoute
    • connectionTTL

      protected long connectionTTL
    • reuseConnections

      protected boolean reuseConnections
    • connectionTTLUnit

      protected TimeUnit connectionTTLUnit
    • maxConnectionIdleTime

      protected long maxConnectionIdleTime
    • maxConnectionIdleTimeUnit

      protected TimeUnit maxConnectionIdleTimeUnit
    • verifier

      protected HostnameVerifier verifier
    • socketTimeout

      protected long socketTimeout
    • socketTimeoutUnits

      protected TimeUnit socketTimeoutUnits
    • establishConnectionTimeout

      protected long establishConnectionTimeout
    • establishConnectionTimeoutUnits

      protected TimeUnit establishConnectionTimeoutUnits
    • disableCookies

      protected boolean disableCookies
    • proxyMappings

      protected ProxyMappings proxyMappings
    • expectContinueEnabled

      protected boolean expectContinueEnabled
  • Constructor Details

    • HttpClientBuilder

      public HttpClientBuilder()
  • Method Details