Top Description Constructors Methods
com.oracle.bmc.http

public Class ApacheConfigurator

extends Object
Class Inheritance
Annotations
@Deprecated

Deprecated

use ApacheClientProperties instead.

This class is deprecated and just left here to document the proper way to configure the Apache Connector now.

For clients that should not buffer requests into memory: ObjectStorageClient nonBufferingObjectStorageClient = ObjectStorageClient .builder() .clientConfigurator(builder -> { builder.property(StandardClientProperties.BUFFER_REQUEST, false); builder.property(ApacheClientProperties.RETRY_HANDLER, null); builder.property(ApacheClientProperties.REUSE_STRATEGY, null); }) .region(Region.US_PHOENIX_1) .build(provider);

For clients that should buffer requests into memory: IdentityClient bufferingIdentityClient = IdentityClient .builder() .clientConfigurator(builder -> { builder.property(StandardClientProperties.BUFFER_REQUEST, true); builder.property(ApacheClientProperties.RETRY_HANDLER, null); builder.property(ApacheClientProperties.REUSE_STRATEGY, null); }) .region(Region.US_PHOENIX_1) .build(provider);

Also consider using com.oracle.bmc.http.client.jersey.apacheconfigurator.ApacheConfigurator from the oci-java-sdk-addons-apache-configurator-jersey add-on module; or com.oracle.bmc.http.client.jersey3.apacheconfigurator.ApacheConfigurator from the oci-java-sdk-addons-apache-configurator-jersey3 add-on module.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ApacheConfiguratorback to summary
private ApacheConfigurator()