Top Constructors Methods
org.apache.http.impl.conn

public final Class SchemeRegistryFactory

extends Object
Class Inheritance
Annotations
@Contract
threading:SAFE
@Deprecated
Imports
org.apache.http.annotation.Contract, .ThreadingBehavior, org.apache.http.conn.scheme.PlainSocketFactory, .Scheme, .SchemeRegistry, org.apache.http.conn.ssl.SSLSocketFactory

Deprecated

(4.3) use org.apache.http.impl.client.HttpClientBuilder.

Since
4.1

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static SchemeRegistry
createDefault()

Deprecated as a consequence of SchemeRegistry being deprecated.
Initializes default scheme registry based on JSSE defaults.
public static SchemeRegistry
createSystemDefault()

Deprecated as a consequence of SchemeRegistry being deprecated.
Initializes default scheme registry using system properties as described in "JavaTM Secure Socket Extension (JSSE) Reference Guide for the JavaTM 2 Platform Standard Edition 5

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

  • 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
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SchemeRegistryFactoryback to summary
public SchemeRegistryFactory()

Method Detail

createDefaultback to summary
public static SchemeRegistry createDefault()

Deprecated

as a consequence of SchemeRegistry being deprecated. See corresponding docs for further information.

Initializes default scheme registry based on JSSE defaults. System properties will not be taken into consideration.

createSystemDefaultback to summary
public static SchemeRegistry createSystemDefault()

Deprecated

as a consequence of SchemeRegistry being deprecated. See corresponding docs for further information.

Initializes default scheme registry using system properties as described in "JavaTM Secure Socket Extension (JSSE) Reference Guide for the JavaTM 2 Platform Standard Edition 5

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

  • 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

Since
4.2