Package | Description |
---|---|
com.azure.core.http |
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
|
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.
|
ProxyOptions |
ProxyOptions.setCredentials(String username,
String password)
Set the proxy credentials.
|
ProxyOptions |
ProxyOptions.setNonProxyHosts(String nonProxyHosts)
Sets the hosts which bypass the proxy.
|
Modifier and Type | Method and Description |
---|---|
ProxyOptions |
HttpClientOptions.getProxyOptions()
Gets the
proxy options that the HttpClient will use. |
Modifier and Type | Method and Description |
---|---|
HttpClientOptions |
HttpClientOptions.setProxyOptions(ProxyOptions proxyOptions)
Sets the
proxy options that the HttpClient will use. |
Copyright © 2021 Microsoft Corporation. All rights reserved.