Package com.oracle.bmc.http
Class DefaultConfigurator
- java.lang.Object
-
- com.oracle.bmc.http.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultConfigurator.NonBuffering
AClientConfigurator
for a client that does not buffer requests in memory.
-
Constructor Summary
Constructors Constructor Description DefaultConfigurator()
Creates a new DefaultConfigurator object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
customizeClient(com.oracle.bmc.http.client.HttpClientBuilder builder)
-
-
-
Method Detail
-
customizeClient
public void customizeClient(com.oracle.bmc.http.client.HttpClientBuilder builder)
- Specified by:
customizeClient
in interfaceClientConfigurator
-
-