Class DefaultConfigurator

  • All Implemented Interfaces:
    ClientConfigurator, HasEffectiveClientConfigurator

    public class DefaultConfigurator
    extends Object
    implements ClientConfigurator, HasEffectiveClientConfigurator
    DefaultConfigurator handles basic configuration of clients under different environments.

    This is the configurator used by the REST client factory when no configurator is provided by the SDK user.

    It currently does the following:

    • Checks for the presence of Apache Config Classes and creates the appropriate configurator

    If the default configurator results in any issues, callers can provide their own implementation when constructing service objects.

    • Constructor Detail

      • DefaultConfigurator

        public DefaultConfigurator()
        Creates a new DefaultConfigurator object.
    • Method Detail

      • customizeClient

        public void customizeClient​(com.oracle.bmc.http.client.HttpClientBuilder builder)
        Specified by:
        customizeClient in interface ClientConfigurator