org.jclouds.http
Interface HttpCommandExecutorService

All Known Implementing Classes:
ApacheHCHttpCommandExecutorService, AsyncGaeHttpCommandExecutorService, BaseHttpCommandExecutorService, GaeHttpCommandExecutorService, JavaUrlHttpCommandExecutorService

public interface HttpCommandExecutorService

Capable of invoking http commands.

Author:
Adrian Cole

Method Summary
 Future<HttpResponse> submit(HttpCommand command)
          Asks the command to build a request relevant for an endpoint that produces responses of generic type HttpResponse.
 

Method Detail

submit

Future<HttpResponse> submit(HttpCommand command)
Asks the command to build a request relevant for an endpoint that produces responses of generic type HttpResponse. and invokes it on the endpoint, returning a future

Parameters:
command - that generates requests
Returns:
Future containing the response from the endpoint


Copyright © 2009-2011 jclouds. All Rights Reserved.