Uses of Class
com.azure.core.util.Configuration
-
Packages that use Configuration Package Description com.azure.core.http Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.com.azure.core.http.policy Package containing HttpPipelinePolicy interface and its implementations.com.azure.core.util Package containing core utility classes. -
-
Uses of Configuration in com.azure.core.http
Methods in com.azure.core.http with parameters of type Configuration Modifier and Type Method Description static ProxyOptions
ProxyOptions. fromConfiguration(Configuration configuration)
Attempts to load a proxy from the environment.static ProxyOptions
ProxyOptions. fromConfiguration(Configuration configuration, boolean createUnresolved)
Attempts to load a proxy from the environment. -
Uses of Configuration in com.azure.core.http.policy
Constructors in com.azure.core.http.policy with parameters of type Configuration Constructor Description UserAgentPolicy(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 Configuration Modifier and Type Field Description static 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 Configuration Modifier and Type Method Description Configuration
Configuration. clone()
Clones this Configuration object.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.Configuration
Configuration. put(String name, String value)
Adds a configuration with the given value.Methods in com.azure.core.util with parameters of type Configuration Modifier and Type Method Description static Duration
CoreUtils. getDefaultTimeoutFromEnvironment(Configuration configuration, String timeoutPropertyName, Duration defaultTimeout, ClientLogger logger)
Attempts to load an environment configured default timeout.HttpClientOptions
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.
-