public static class FakeSimpleApi.StashCallable<RequestT,ResponseT> extends UnaryCallable<RequestT,ResponseT>
| Constructor and Description |
|---|
StashCallable(ResponseT result) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<ResponseT> |
futureCall(RequestT request,
ApiCallContext context)
Perform a call asynchronously.
|
ApiCallContext |
getContext() |
RequestT |
getRequest() |
call, call, futureCallpublic StashCallable(ResponseT result)
public com.google.api.core.ApiFuture<ResponseT> futureCall(RequestT request, ApiCallContext context)
UnaryCallablefutureCall in class UnaryCallable<RequestT,ResponseT>context - ApiCallContext to make the call withApiFuture for the call resultpublic ApiCallContext getContext()
public RequestT getRequest()