org.jclouds.rest
Interface HttpAsyncClient


public interface HttpAsyncClient

Simple rest client

Author:
Adrian Cole

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Boolean> delete(URI location)
           
 com.google.common.util.concurrent.ListenableFuture<Boolean> exists(URI location)
           
 com.google.common.util.concurrent.ListenableFuture<InputStream> get(URI location)
           
 com.google.common.util.concurrent.ListenableFuture<HttpResponse> invoke(HttpRequest request)
           
 com.google.common.util.concurrent.ListenableFuture<String> post(URI location, Payload payload)
           
 com.google.common.util.concurrent.ListenableFuture<String> put(URI location, Payload payload)
           
 

Method Detail

put

com.google.common.util.concurrent.ListenableFuture<String> put(URI location,
                                                               Payload payload)
See Also:
HttpClient.post(java.net.URI, org.jclouds.io.Payload)

post

com.google.common.util.concurrent.ListenableFuture<String> post(URI location,
                                                                Payload payload)
See Also:
HttpClient.post(java.net.URI, org.jclouds.io.Payload)

exists

com.google.common.util.concurrent.ListenableFuture<Boolean> exists(URI location)
See Also:
HttpClient.exists(java.net.URI)

get

com.google.common.util.concurrent.ListenableFuture<InputStream> get(URI location)
See Also:
HttpClient.get(java.net.URI)

invoke

com.google.common.util.concurrent.ListenableFuture<HttpResponse> invoke(HttpRequest request)
See Also:
HttpClient.invoke(org.jclouds.http.HttpRequest)

delete

com.google.common.util.concurrent.ListenableFuture<Boolean> delete(URI location)
See Also:
HttpClient.delete(java.net.URI)


Copyright © 2009-2012 jclouds. All Rights Reserved.