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 class
RetryHttpClient.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RetryHttpClient.Builder
retryRequestOn(HttpClient client)
boolean
send(HttpRequest request, CompletionListener completionListener)
boolean
send(HttpRequest request, HttpRequest.Config config, CompletionListener completionListener)
-
-
-
Method Detail
-
send
public boolean send(HttpRequest request, CompletionListener completionListener) throws IOException
- 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
public static RetryHttpClient.Builder retryRequestOn(HttpClient client)
-
-