Uses of Class
com.azure.core.util.Configuration
Packages that use Configuration
Package
Description
This package contains interfaces that represent common cross-cutting aspects of functionality offered by libraries
in the Azure SDK for Java.
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
Package containing the types for instantiating and using the Netty HTTP client.
Package containing HttpPipelinePolicy interface and its implementations.
Package containing core utility classes.
-
Uses of Configuration in com.azure.core.client.traits
Methods in com.azure.core.client.traits with parameters of type ConfigurationModifier and TypeMethodDescriptionConfigurationTrait.configuration
(Configuration configuration) Sets the client-specific configuration used to retrieve client or global configuration properties when building a client. -
Uses of Configuration in com.azure.core.http
Methods in com.azure.core.http with parameters of type ConfigurationModifier and TypeMethodDescriptionstatic ProxyOptions
ProxyOptions.fromConfiguration
(Configuration configuration) Attempts to load a proxy from the configuration.static ProxyOptions
ProxyOptions.fromConfiguration
(Configuration configuration, boolean createUnresolved) Attempts to load a proxy from the environment. -
Uses of Configuration in com.azure.core.http.netty
Methods in com.azure.core.http.netty with parameters of type ConfigurationModifier and TypeMethodDescriptionNettyAsyncHttpClientBuilder.configuration
(Configuration configuration) Sets the configuration store that is used during construction of the HTTP client. -
Uses of Configuration in com.azure.core.http.policy
Constructors in com.azure.core.http.policy with parameters of type ConfigurationModifierConstructorDescriptionUserAgentPolicy
(String sdkName, String sdkVersion, Configuration configuration, ServiceVersion version) Deprecated.UserAgentPolicy
(String applicationId, String sdkName, String sdkVersion, Configuration configuration) Creates a UserAgentPolicy with thesdkName
andsdkVersion
in the User-Agent header value. -
Uses of Configuration in com.azure.core.util
Fields in com.azure.core.util declared as ConfigurationModifier and TypeFieldDescriptionstatic final Configuration
Configuration.NONE
No-opConfiguration
object used to opt out of using global configurations when constructing client libraries.Methods in com.azure.core.util that return ConfigurationModifier and TypeMethodDescriptionConfigurationBuilder.build()
Builds rootConfiguration
section.ConfigurationBuilder.buildSection
(String path) BuildsConfiguration
section that supports retrieving properties from client-specific section with fallback to root section for properties that can be shared between clients.Configuration.clone()
Deprecated.UseConfigurationBuilder
andConfigurationSource
to create configuration.HttpClientOptions.getConfiguration()
Gets the configuration store that theHttpClient
will use.static Configuration
Configuration.getGlobalConfiguration()
Gets the global configuration store shared by all client libraries.Deprecated.UseConfigurationBuilder
andConfigurationSource
to provide all properties before creating configuration.Methods in com.azure.core.util with parameters of type ConfigurationModifier and TypeMethodDescriptionstatic MetricsOptions
MetricsOptions.fromConfiguration
(Configuration configuration) Attempts to load metrics options from the configuration.static TracingOptions
TracingOptions.fromConfiguration
(Configuration configuration) Loads metrics options from the configuration.static Duration
CoreUtils.getDefaultTimeoutFromEnvironment
(Configuration configuration, String timeoutPropertyName, Duration defaultTimeout, ClientLogger logger) Attempts to load an environment configured default timeout.HttpClientOptions.setConfiguration
(Configuration configuration) Sets the configuration store that theHttpClient
will use.static String
UserAgentUtil.toUserAgentString
(String applicationId, String sdkName, String sdkVersion, Configuration configuration) Return user agent string for the given sdk name and version.
UserAgentPolicy(String, String, String, Configuration)
instead.