| 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.
|
| Constructor and Description |
|---|
UserAgentPolicy(String sdkName,
String sdkVersion,
Configuration configuration,
ServiceVersion version)
Creates a UserAgentPolicy with the
sdkName and sdkVersion in the User-Agent header value. |
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() |
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 String |
UserAgentUtil.toUserAgentString(String applicationId,
String sdkName,
String sdkVersion,
Configuration configuration)
Return user agent string for the given sdk name and version.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.