|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpCommandExecutorService
Capable of invoking http commands.
| Method Summary | |
|---|---|
HttpResponse |
invoke(HttpCommand command)
Returns a HttpResponse from the server which responded to the
command. |
com.google.common.util.concurrent.ListenableFuture<HttpResponse> |
submit(HttpCommand command)
Returns a potentially deferred HttpResponse from a server responding to the
command. |
| Method Detail |
|---|
com.google.common.util.concurrent.ListenableFuture<HttpResponse> submit(HttpCommand command)
HttpResponse from a server responding to the
command. The output ListenableFuture need not be
done, making HttpCommandExecutorService
suitable for asynchronous derivations.
HttpResponse invoke(HttpCommand command)
HttpResponse from the server which responded to the
command.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||