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:
- org.jclouds.http.HttpCommandExecutorService
public class ApacheHCHttpCommandExecutorService
- extends org.jclouds.http.internal.BaseHttpCommandExecutorService<org.apache.http.client.methods.HttpUriRequest>
Simple implementation of a HttpFutureCommandClient, Apache Components HttpClient 4.x.
- Author:
- Sam Tunnicliffe, Adrian Cole
| Nested classes/interfaces inherited from class org.jclouds.http.internal.BaseHttpCommandExecutorService |
org.jclouds.http.internal.BaseHttpCommandExecutorService.HttpResponseCallable |
| Fields inherited from class org.jclouds.http.internal.BaseHttpCommandExecutorService |
headerLog, logger, utils, wire |
|
Method Summary |
protected void |
cleanup(org.apache.http.client.methods.HttpUriRequest nativeResponse)
|
protected org.apache.http.client.methods.HttpUriRequest |
convert(org.jclouds.http.HttpRequest request)
|
protected org.jclouds.http.HttpResponse |
invoke(org.apache.http.client.methods.HttpUriRequest nativeRequest)
|
| Methods inherited from class org.jclouds.http.internal.BaseHttpCommandExecutorService |
consumeOnClose, submit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
convert
protected org.apache.http.client.methods.HttpUriRequest convert(org.jclouds.http.HttpRequest request)
throws IOException
- Specified by:
convert in class org.jclouds.http.internal.BaseHttpCommandExecutorService<org.apache.http.client.methods.HttpUriRequest>
- Throws:
IOException
invoke
protected org.jclouds.http.HttpResponse invoke(org.apache.http.client.methods.HttpUriRequest nativeRequest)
throws IOException
- Specified by:
invoke in class org.jclouds.http.internal.BaseHttpCommandExecutorService<org.apache.http.client.methods.HttpUriRequest>
- Throws:
IOException
cleanup
protected void cleanup(org.apache.http.client.methods.HttpUriRequest nativeResponse)
- Specified by:
cleanup in class org.jclouds.http.internal.BaseHttpCommandExecutorService<org.apache.http.client.methods.HttpUriRequest>
Copyright © 2009-2011 jclouds. All Rights Reserved.