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 a HttpFutureCommandClient
, Apache Components HttpClient 4.x.
- Author:
- Sam Tunnicliffe, Adrian Cole
Method Summary |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
convert
protected org.apache.http.client.methods.HttpUriRequest convert(HttpRequest request)
throws IOException
- Specified by:
convert
in class BaseHttpCommandExecutorService<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 class 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 BaseHttpCommandExecutorService<org.apache.http.client.methods.HttpUriRequest>
Copyright © 2009-2012 jclouds. All Rights Reserved.