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 HttpClientcreate(Logger log)booleansend(HttpRequest request, CompletionListener completionListener)booleansend(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:
sendin interfaceHttpClient- Throws:
IOException
-
send
public boolean send(HttpRequest request, HttpRequest.Config config, CompletionListener completionListener) throws IOException
- Specified by:
sendin interfaceHttpClient- Throws:
IOException
-
-