Package org.eclipse.cbi.maven.http
Class RetryHttpClient
- java.lang.Object
-
- org.eclipse.cbi.maven.http.RetryHttpClient
-
- All Implemented Interfaces:
HttpClient
public abstract class RetryHttpClient extends Object implements HttpClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRetryHttpClient.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RetryHttpClient.BuilderretryRequestOn(HttpClient client)booleansend(HttpRequest request, CompletionListener completionListener)booleansend(HttpRequest request, HttpRequest.Config config, CompletionListener completionListener)
-
-
-
Method Detail
-
send
public boolean send(HttpRequest request, CompletionListener completionListener) throws IOException
- 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
public static RetryHttpClient.Builder retryRequestOn(HttpClient client)
-
-