public static class APIRequest.DefaultRequestExecutor extends Object implements APIRequest.IRequestExecutor
| Constructor and Description |
|---|
DefaultRequestExecutor() |
| Modifier and Type | Method and Description |
|---|---|
APIRequest.ResponseWrapper |
execute(String method,
String apiUrl,
Map<String,Object> allParams,
APIContext context) |
APIRequest.ResponseWrapper |
sendDelete(String apiUrl,
Map<String,Object> allParams,
APIContext context) |
APIRequest.ResponseWrapper |
sendGet(String apiUrl,
Map<String,Object> allParams,
APIContext context) |
APIRequest.ResponseWrapper |
sendPost(String apiUrl,
Map<String,Object> allParams,
APIContext context) |
public APIRequest.ResponseWrapper execute(String method, String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
execute in interface APIRequest.IRequestExecutorAPIExceptionIOExceptionpublic APIRequest.ResponseWrapper sendGet(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendGet in interface APIRequest.IRequestExecutorAPIExceptionIOExceptionpublic APIRequest.ResponseWrapper sendPost(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendPost in interface APIRequest.IRequestExecutorAPIExceptionIOExceptionpublic APIRequest.ResponseWrapper sendDelete(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendDelete in interface APIRequest.IRequestExecutorAPIExceptionIOExceptionCopyright © 2020. All rights reserved.