public interface TransformingHttpCommandExecutorService
EndpointCommand into generic
 type | Modifier and Type | Method and Description | 
|---|---|
<T,R extends HttpRequest>  | 
submit(HttpCommand command,
      com.google.common.base.Function<HttpResponse,T> responseTransformer)
Submits the command and transforms the result before requested via  
Future.get(). | 
<T,R extends HttpRequest> com.google.common.util.concurrent.ListenableFuture<T> submit(HttpCommand command, com.google.common.base.Function<HttpResponse,T> responseTransformer)
Future.get().T - type that is required from the value.command - holds the state of the request, including metadata such as redirect countsresponseTransformer - how to transform the response from the above commandCopyright © 2009-2013 jclouds. All Rights Reserved.