Top Description Inners Fields Constructors Methods
com.oracle.bmc.http

public Class DefaultConfigurator

extends Object
implements ClientConfigurator, HasEffectiveClientConfigurator
Class Inheritance
All Implemented Interfaces
com.oracle.bmc.http.HasEffectiveClientConfigurator, com.oracle.bmc.http.ClientConfigurator
Imports
com.oracle.bmc.http.client.HttpClientBuilder, .StandardClientProperties, org.slf4j.Logger

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:

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
DefaultConfigurator.NonBuffering

A ClientConfigurator for a client that does not buffer requests in memory.

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public
DefaultConfigurator()

Creates a new DefaultConfigurator object.

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGback to summary
private static final Logger LOG

Constructor Detail

DefaultConfiguratorback to summary
public DefaultConfigurator()

Creates a new DefaultConfigurator object.

Method Detail

customizeClientback to summary
public void customizeClient(HttpClientBuilder builder)

Implements com.oracle.bmc.http.ClientConfigurator.customizeClient.

Annotations
@Override
com.oracle.bmc.http back to summary

public Class DefaultConfigurator.NonBuffering

extends Object
implements ClientConfigurator, HasEffectiveClientConfigurator
Class Inheritance
All Implemented Interfaces
com.oracle.bmc.http.HasEffectiveClientConfigurator, com.oracle.bmc.http.ClientConfigurator

A ClientConfigurator for a client that does not buffer requests in memory.

Note

for PUT and POST requests, this will result in less accurate error messages

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NonBufferingback to summary
public NonBuffering()

Method Detail

customizeClientback to summary
public void customizeClient(HttpClientBuilder builder)

Implements com.oracle.bmc.http.ClientConfigurator.customizeClient.

Annotations
@Override