Class SystemDefaultHttpClient

All Implemented Interfaces:
Closeable, AutoCloseable, HttpClient

@Contract(threading=SAFE_CONDITIONAL) @Deprecated public class SystemDefaultHttpClient extends DefaultHttpClient
Deprecated.
An extension of DefaultHttpClient pre-configured using system properties.

The following system properties are taken into account by this class:

  • ssl.TrustManagerFactory.algorithm
  • javax.net.ssl.trustStoreType
  • javax.net.ssl.trustStore
  • javax.net.ssl.trustStoreProvider
  • javax.net.ssl.trustStorePassword
  • java.home
  • ssl.KeyManagerFactory.algorithm
  • javax.net.ssl.keyStoreType
  • javax.net.ssl.keyStore
  • javax.net.ssl.keyStoreProvider
  • javax.net.ssl.keyStorePassword
  • http.proxyHost
  • http.proxyPort
  • https.proxyHost
  • https.proxyPort
  • http.nonProxyHosts
  • http.keepAlive
  • http.maxConnections

The following parameters can be used to customize the behavior of this class:

Since:
4.2
  • Constructor Details

    • SystemDefaultHttpClient

      public SystemDefaultHttpClient(HttpParams params)
      Deprecated.
    • SystemDefaultHttpClient

      public SystemDefaultHttpClient()
      Deprecated.