| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient.http.httpclient4 |
| Modifier and Type | Method and Description |
|---|---|
static HttpClient4ClientFactoryBuilder |
HttpClient4ClientFactoryBuilder.httpClient4ClientFactory()
Static builder method for method chaining, fluent builder style.
|
HttpClient4ClientFactoryBuilder |
HttpClient4ClientFactoryBuilder.withAllowRedirects(boolean allowRedirects)
Set whether redirects should be followed.
|
HttpClient4ClientFactoryBuilder |
HttpClient4ClientFactoryBuilder.withConnectionManagerTimeoutMs(int connectionManagerTimeoutMs)
Sets the connection manager timeout in milliseconds.
|
HttpClient4ClientFactoryBuilder |
HttpClient4ClientFactoryBuilder.withConnectionTimeoutMs(int connectionTimeoutMs)
Set the time in milliseconds to wait for a connection to be established before aborting the request.
|
HttpClient4ClientFactoryBuilder |
HttpClient4ClientFactoryBuilder.withMaxConnections(int maxConnections)
Set the maximum total connections allowed across all routes.
|
HttpClient4ClientFactoryBuilder |
HttpClient4ClientFactoryBuilder.withMaxConnectionsPerRoute(int maxConnectionsPerRoute)
Set the maximum connections allowed per route.
|
HttpClient4ClientFactoryBuilder |
HttpClient4ClientFactoryBuilder.withSocketTimeoutMs(int socketTimeoutMs)
Maximum time of inactivity to allow between two consecutive data packets from the server before aborting the
request.
|
Copyright © 2014. All Rights Reserved.