| Package | Description |
|---|---|
| org.apache.http.impl.client |
Default HTTP client implementation.
|
| org.apache.http.impl.execchain |
HTTP request execution chain APIs.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
DefaultBackoffStrategy |
This
ConnectionBackoffStrategy backs off either for a raw
network socket or connection timeout or if the server explicitly
sends a 503 (Service Unavailable) response. |
class |
NullBackoffStrategy |
This is a
ConnectionBackoffStrategy that never backs off,
for compatibility with existing behavior. |
| Modifier and Type | Method | Description |
|---|---|---|
ConnectionBackoffStrategy |
AbstractHttpClient.getConnectionBackoffStrategy() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
AbstractHttpClient.setConnectionBackoffStrategy(ConnectionBackoffStrategy strategy) |
Deprecated.
|
HttpClientBuilder |
HttpClientBuilder.setConnectionBackoffStrategy(ConnectionBackoffStrategy connectionBackoffStrategy) |
Assigns
ConnectionBackoffStrategy instance. |
| Constructor | Description |
|---|---|
BackoffStrategyExec(ClientExecChain requestExecutor,
ConnectionBackoffStrategy connectionBackoffStrategy,
BackoffManager backoffManager) |