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.IRequestExecutor
APIException
IOException
public APIRequest.ResponseWrapper sendGet(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendGet
in interface APIRequest.IRequestExecutor
APIException
IOException
public APIRequest.ResponseWrapper sendPost(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendPost
in interface APIRequest.IRequestExecutor
APIException
IOException
public APIRequest.ResponseWrapper sendDelete(String apiUrl, Map<String,Object> allParams, APIContext context) throws APIException, IOException
sendDelete
in interface APIRequest.IRequestExecutor
APIException
IOException
Copyright © 2024. All rights reserved.