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 and 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 and Description |
---|---|
ConnectionBackoffStrategy |
AbstractHttpClient.getConnectionBackoffStrategy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractHttpClient.setConnectionBackoffStrategy(ConnectionBackoffStrategy strategy)
Deprecated.
|
HttpClientBuilder |
HttpClientBuilder.setConnectionBackoffStrategy(ConnectionBackoffStrategy connectionBackoffStrategy)
Assigns
ConnectionBackoffStrategy instance. |
Constructor and Description |
---|
BackoffStrategyExec(ClientExecChain requestExecutor,
ConnectionBackoffStrategy connectionBackoffStrategy,
BackoffManager backoffManager) |
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.