public class HttpClientConfiguration extends Object
| Constructor and Description |
|---|
HttpClientConfiguration(Proxy proxy)
Creates an HttpClientConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
Proxy |
proxy() |
HttpClientConfiguration |
withIdleConnectionKeepAliveDurationInSec(long duration)
Sets the duration in sec to keep the connection alive in available pool before closing it.
|
public HttpClientConfiguration(Proxy proxy)
proxy - The optional proxy to use.public Proxy proxy()
@Beta(since="2.0.0") public HttpClientConfiguration withIdleConnectionKeepAliveDurationInSec(long duration)
duration - duration in seconds/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/