public interface HttpCommandExecutorService
Modifier and Type | Method and Description |
---|---|
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 . |
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
.Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.