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:
If the default configurator results in any issues, callers can provide their own implementation when constructing service objects.
Modifier and Type | Class and Description |
---|---|
static class |
DefaultConfigurator.NonBuffering
A
ClientConfigurator for a client that does not buffer requests in memory. |
Constructor and Description |
---|
DefaultConfigurator()
Creates a new
DefaultConfigurator object. |
Modifier and Type | Method and Description |
---|---|
void |
customizeClient(com.oracle.bmc.http.client.HttpClientBuilder builder) |
public DefaultConfigurator()
Creates a new DefaultConfigurator
object.
public void customizeClient(com.oracle.bmc.http.client.HttpClientBuilder builder)
customizeClient
in interface ClientConfigurator
Copyright © 2016–2024. All rights reserved.