Package org.eclipse.cbi.maven.http
Class RetryHttpClient
java.lang.Object
org.eclipse.cbi.maven.http.RetryHttpClient
- All Implemented Interfaces:
HttpClient
- Direct Known Subclasses:
AutoValue_RetryHttpClient
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract HttpClient
delegate()
(package private) abstract Logger
log()
(package private) abstract int
(package private) abstract long
(package private) abstract TimeUnit
static RetryHttpClient.Builder
retryRequestOn
(HttpClient client) boolean
send
(HttpRequest request, CompletionListener completionListener) boolean
send
(HttpRequest request, HttpRequest.Config config, CompletionListener completionListener)
-
Constructor Details
-
RetryHttpClient
RetryHttpClient()
-
-
Method Details
-
maxRetries
abstract int maxRetries() -
retryInterval
abstract long retryInterval() -
retryIntervalUnit
-
delegate
-
log
-
send
- Specified by:
send
in interfaceHttpClient
- Throws:
IOException
-
send
public boolean send(HttpRequest request, HttpRequest.Config config, CompletionListener completionListener) throws IOException - Specified by:
send
in interfaceHttpClient
- Throws:
IOException
-
retryRequestOn
-