public class HttpClientProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpClientProperties.HttpClientPropertiesBuilder |
| Modifier and Type | Method and Description |
|---|---|
static HttpClientProperties.HttpClientPropertiesBuilder |
builder()
Instantiates a new builder.
|
com.azure.core.http.ProxyOptions |
getProxy()
The proxy to use when connecting to the remote server.
|
boolean |
isKeepAlive()
Indicates whether a custom connection keep-alive time should be used.
|
Integer |
maxConnectionTotal()
The maximum number of connections the client may keep open at the same time across all routes.
|
Integer |
maxIdleTime()
The maximum time persistent connections can stay idle while kept alive in the connection pool.
|
Class<? extends com.azure.core.http.HttpClientProvider> |
provider()
Gets the HTTP Client Provider used by Azure Core when constructing HTTP Client instances.
|
Integer |
readTimeout()
The amount of time between each response data read from the network before timing out.
|
public static HttpClientProperties.HttpClientPropertiesBuilder builder()
public Integer maxIdleTime()
public Integer readTimeout()
public boolean isKeepAlive()
false, the HTTP
client will use the default connection keep-alive strategy, which is to use only the server instructions
(if any) set in the Keep-Alive response header.
If set to true, the HTTP client will use a custom connection keep-alive strategy which uses the
server instructions set in the Keep-Alive response header; if the response doesn't contain apublic Integer maxConnectionTotal()
public Class<? extends com.azure.core.http.HttpClientProvider> provider()
public com.azure.core.http.ProxyOptions getProxy()
Copyright © 2025. All rights reserved.