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

public Class CrossTenancyRequestConfigurator

extends Object
implements ClientConfigurator
Class Inheritance
All Implemented Interfaces
com.oracle.bmc.http.ClientConfigurator
Imports
com.oracle.bmc.http.client.HttpClientBuilder, com.oracle.bmc.http.internal.CrossTenancyRequestClientFilter, com.oracle.bmc.util.internal.Validate, java.util.Arrays

A configurator that causes the client to set the cross-tenancy request header.

Field Summary

Modifier and TypeField and Description
private final String[]
private final ClientConfigurator

Constructor Summary

AccessConstructor and Description
public
CrossTenancyRequestConfigurator(String[]
tenancy OCIDs that might be accessed by requests made by the client configured
authorizedTenancyIds
)

A configurator that sets the cross-tenancy request header, but otherwise behaves like the DefaultConnectorConfigurator.

public
CrossTenancyRequestConfigurator(String[]
tenancy OCIDs that might be accessed by requests made by the client configured
authorizedTenancyIds
,
ClientConfigurator
base configurator
baseConfigurator
)

A configurator that sets the cross-tenancy request header, but otherwise behaves like the passed in configurator.

Method Summary

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

Field Detail

authorizedTenancyIdsback to summary
private final String[] authorizedTenancyIds
baseConfiguratorback to summary
private final ClientConfigurator baseConfigurator

Constructor Detail

CrossTenancyRequestConfiguratorback to summary
public CrossTenancyRequestConfigurator(String[] authorizedTenancyIds)

A configurator that sets the cross-tenancy request header, but otherwise behaves like the DefaultConnectorConfigurator.

Parameters
authorizedTenancyIds:String[]

tenancy OCIDs that might be accessed by requests made by the client configured

CrossTenancyRequestConfiguratorback to summary
public CrossTenancyRequestConfigurator(String[] authorizedTenancyIds, ClientConfigurator baseConfigurator)

A configurator that sets the cross-tenancy request header, but otherwise behaves like the passed in configurator.

Parameters
authorizedTenancyIds:String[]

tenancy OCIDs that might be accessed by requests made by the client configured

baseConfigurator:ClientConfigurator

base configurator

Method Detail

customizeClientback to summary
public void customizeClient(HttpClientBuilder builder)

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

Annotations
@Override