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