Class ApacheHttpClient
- java.lang.Object
-
- org.eclipse.cbi.maven.http.apache.ApacheHttpClient
-
- All Implemented Interfaces:
HttpClient
public class ApacheHttpClient extends Object implements HttpClient
An HttpClient implementation based on Apache HttpClient.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpClient
create(Logger log)
boolean
send(HttpRequest request, CompletionListener completionListener)
boolean
send(HttpRequest request, HttpRequest.Config config, CompletionListener completionListener)
-
-
-
Method Detail
-
create
public static HttpClient create(Logger log)
-
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
-
-