Package org.jclouds.http.apachehc
Class ApacheHCHttpCommandExecutorService
- java.lang.Object
-
- org.jclouds.http.internal.BaseHttpCommandExecutorService<org.apache.http.client.methods.HttpUriRequest>
-
- org.jclouds.http.apachehc.ApacheHCHttpCommandExecutorService
-
- All Implemented Interfaces:
HttpCommandExecutorService
public class ApacheHCHttpCommandExecutorService extends BaseHttpCommandExecutorService<org.apache.http.client.methods.HttpUriRequest>
Simple implementation of aHttpCommandExecutorService
, Apache Components HttpClient 4.x.
-
-
Field Summary
-
Fields inherited from class org.jclouds.http.internal.BaseHttpCommandExecutorService
contentMetadataCodec, errorHandler, headerLog, ioRetryHandler, logger, retryHandler, utils, wire
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cleanup(org.apache.http.client.methods.HttpUriRequest nativeResponse)
protected org.apache.http.client.methods.HttpUriRequest
convert(HttpRequest request)
protected HttpResponse
invoke(org.apache.http.client.methods.HttpUriRequest nativeRequest)
-
Methods inherited from class org.jclouds.http.internal.BaseHttpCommandExecutorService
invoke
-
-
-
-
Method Detail
-
convert
protected org.apache.http.client.methods.HttpUriRequest convert(HttpRequest request) throws IOException
- Specified by:
convert
in classBaseHttpCommandExecutorService<org.apache.http.client.methods.HttpUriRequest>
- Throws:
IOException
-
invoke
protected HttpResponse invoke(org.apache.http.client.methods.HttpUriRequest nativeRequest) throws IOException
- Specified by:
invoke
in classBaseHttpCommandExecutorService<org.apache.http.client.methods.HttpUriRequest>
- Throws:
IOException
-
cleanup
protected void cleanup(org.apache.http.client.methods.HttpUriRequest nativeResponse)
- Specified by:
cleanup
in classBaseHttpCommandExecutorService<org.apache.http.client.methods.HttpUriRequest>
-
-