Package | Description |
---|---|
org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
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 429 (Too Many Requests) or 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 |
---|---|
HttpClientBuilder |
HttpClientBuilder.setConnectionBackoffStrategy(ConnectionBackoffStrategy connectionBackoffStrategy)
Sets
ConnectionBackoffStrategy instance. |
Constructor and Description |
---|
BackoffStrategyExec(ConnectionBackoffStrategy connectionBackoffStrategy,
BackoffManager backoffManager)
|
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.