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 HttpClientdelegate()(package private) abstract Loggerlog()(package private) abstract int(package private) abstract long(package private) abstract TimeUnitstatic RetryHttpClient.BuilderretryRequestOn(HttpClient client) booleansend(HttpRequest request, CompletionListener completionListener) booleansend(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:
sendin interfaceHttpClient- Throws:
IOException
-
send
public boolean send(HttpRequest request, HttpRequest.Config config, CompletionListener completionListener) throws IOException - Specified by:
sendin interfaceHttpClient- Throws:
IOException
-
retryRequestOn
-