Package org.eclipse.cbi.maven.http
Class RetryHttpClient.Builder
- java.lang.Object
-
- org.eclipse.cbi.maven.http.RetryHttpClient.Builder
-
- Enclosing class:
- RetryHttpClient
public abstract static class RetryHttpClient.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description HttpClient
build()
abstract RetryHttpClient.Builder
log(Logger log)
abstract RetryHttpClient.Builder
maxRetries(int maxRetries)
RetryHttpClient.Builder
waitBeforeRetry(long retryInterval, TimeUnit retryIntervalUnit)
-
-
-
Method Detail
-
maxRetries
public abstract RetryHttpClient.Builder maxRetries(int maxRetries)
-
waitBeforeRetry
public RetryHttpClient.Builder waitBeforeRetry(long retryInterval, TimeUnit retryIntervalUnit)
-
log
public abstract RetryHttpClient.Builder log(Logger log)
-
build
public HttpClient build()
-
-