public static class APIRequest.DefaultAsyncRequestExecutor extends Object implements APIRequest.IAsyncRequestExecutor
| Constructor and Description |
|---|
DefaultAsyncRequestExecutor() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<APIRequest.ResponseWrapper> |
execute(String method,
String apiUrl,
Map<String,Object> allParams,
APIContext context) |
com.google.common.util.concurrent.ListenableFuture<APIRequest.ResponseWrapper> |
sendDelete(String apiUrl,
Map<String,Object> allParams,
APIContext context) |
com.google.common.util.concurrent.ListenableFuture<APIRequest.ResponseWrapper> |
sendGet(String apiUrl,
Map<String,Object> allParams,
APIContext context) |
com.google.common.util.concurrent.ListenableFuture<APIRequest.ResponseWrapper> |
sendPost(String apiUrl,
Map<String,Object> allParams,
APIContext context) |
public com.google.common.util.concurrent.ListenableFuture<APIRequest.ResponseWrapper> execute(String method, String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
execute in interface APIRequest.IAsyncRequestExecutorAPIExceptionIOExceptionpublic com.google.common.util.concurrent.ListenableFuture<APIRequest.ResponseWrapper> sendGet(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendGet in interface APIRequest.IAsyncRequestExecutorAPIExceptionIOExceptionpublic com.google.common.util.concurrent.ListenableFuture<APIRequest.ResponseWrapper> sendPost(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendPost in interface APIRequest.IAsyncRequestExecutorAPIExceptionIOExceptionpublic com.google.common.util.concurrent.ListenableFuture<APIRequest.ResponseWrapper> sendDelete(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendDelete in interface APIRequest.IAsyncRequestExecutorAPIExceptionIOExceptionCopyright © 2020. All rights reserved.