| Package | Description |
|---|---|
| com.microsoft.rest.v2.http |
This package contains the HTTP abstractions between the AnnotationParser's RestProxy and whatever
HTTP client we choose to use.
|
| Modifier and Type | Method and Description |
|---|---|
HttpClientConfiguration |
HttpClientConfiguration.withIdleConnectionKeepAliveDurationInSec(long duration)
Sets the duration in sec to keep the connection alive in available pool before closing it.
|
| Modifier and Type | Method and Description |
|---|---|
HttpClient |
NettyClient.Factory.create(HttpClientConfiguration configuration) |
HttpClient |
HttpClientFactory.create(HttpClientConfiguration configuration)
Creates an HttpClient with the given Configuration.
|
static HttpClient |
HttpClient.createDefault(HttpClientConfiguration configuration)
Create an instance of the default HttpClient type with the provided configuration.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/