|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransformingHttpCommandExecutorService
Executor which will invoke and transform the response of an EndpointCommand
into generic
type
Method Summary | ||
---|---|---|
|
submit(HttpCommand command,
com.google.common.base.Function<HttpResponse,T> responseTransformer)
Submits the command and transforms the result before requested via Future.get() . |
Method Detail |
---|
<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 command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |