Package com.adyen.httpclient
Class AdyenHttpClient
- java.lang.Object
-
- com.adyen.httpclient.AdyenHttpClient
-
- All Implemented Interfaces:
ClientInterface
public class AdyenHttpClient extends Object implements ClientInterface
-
-
Constructor Summary
Constructors Constructor Description AdyenHttpClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProxygetProxy()Stringrequest(String endpoint, String requestBody, Config config)Stringrequest(String endpoint, String requestBody, Config config, boolean isApiKeyRequired)Stringrequest(String endpoint, String requestBody, Config config, boolean isApiKeyRequired, RequestOptions requestOptions)Stringrequest(String endpoint, String requestBody, Config config, boolean isApiKeyRequired, RequestOptions requestOptions, ApiConstants.HttpMethod httpMethod)Stringrequest(String endpoint, String requestBody, Config config, boolean isApiKeyRequired, RequestOptions requestOptions, ApiConstants.HttpMethod httpMethod, Map<String,String> params)voidsetProxy(Proxy proxy)
-
-
-
Method Detail
-
getProxy
public Proxy getProxy()
-
setProxy
public void setProxy(Proxy proxy)
-
request
public String request(String endpoint, String requestBody, Config config) throws IOException, HTTPClientException
- Specified by:
requestin interfaceClientInterface- Throws:
IOExceptionHTTPClientException
-
request
public String request(String endpoint, String requestBody, Config config, boolean isApiKeyRequired) throws IOException, HTTPClientException
- Specified by:
requestin interfaceClientInterface- Throws:
IOExceptionHTTPClientException
-
request
public String request(String endpoint, String requestBody, Config config, boolean isApiKeyRequired, RequestOptions requestOptions) throws IOException, HTTPClientException
- Specified by:
requestin interfaceClientInterface- Throws:
IOExceptionHTTPClientException
-
request
public String request(String endpoint, String requestBody, Config config, boolean isApiKeyRequired, RequestOptions requestOptions, ApiConstants.HttpMethod httpMethod) throws IOException, HTTPClientException
- Specified by:
requestin interfaceClientInterface- Throws:
IOExceptionHTTPClientException
-
request
public String request(String endpoint, String requestBody, Config config, boolean isApiKeyRequired, RequestOptions requestOptions, ApiConstants.HttpMethod httpMethod, Map<String,String> params) throws IOException, HTTPClientException
- Specified by:
requestin interfaceClientInterface- Throws:
IOExceptionHTTPClientException
-
-