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.
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
UserAgentPolicy(String sdkName,
String sdkVersion,
Configuration configuration,
ServiceVersion version)
Deprecated.
|
UserAgentPolicy(String applicationId,
String sdkName,
String sdkVersion,
Configuration configuration)
Creates a UserAgentPolicy with the
sdkName and sdkVersion in the User-Agent header value. |
Modifier and Type | Field and Description |
---|---|
static Configuration |
Configuration.NONE
No-op
Configuration object used to opt out of using global configurations when constructing client
libraries. |
Modifier and Type | Method and Description |
---|---|
Configuration |
Configuration.clone()
Clones this Configuration object.
|
Configuration |
HttpClientOptions.getConfiguration()
Gets the configuration store that the
HttpClient 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.
|
Modifier and Type | Method and 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 the
HttpClient 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.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.