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.IAsyncRequestExecutor
APIException
IOException
public com.google.common.util.concurrent.ListenableFuture<APIRequest.ResponseWrapper> sendGet(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendGet
in interface APIRequest.IAsyncRequestExecutor
APIException
IOException
public com.google.common.util.concurrent.ListenableFuture<APIRequest.ResponseWrapper> sendPost(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendPost
in interface APIRequest.IAsyncRequestExecutor
APIException
IOException
public com.google.common.util.concurrent.ListenableFuture<APIRequest.ResponseWrapper> sendDelete(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendDelete
in interface APIRequest.IAsyncRequestExecutor
APIException
IOException
Copyright © 2023. All rights reserved.