public class HttpURLConnectionClient extends Object implements ClientInterface
| Constructor and Description |
|---|
HttpURLConnectionClient() |
| Modifier and Type | Method and Description |
|---|---|
String |
post(String requestUrl,
Map<String,String> params,
Config config)
Does a POST request with HTTP key-value pairs
|
String |
request(String requestUrl,
String requestBody,
Config config)
Does a POST request.
|
public String request(String requestUrl, String requestBody, Config config) throws IOException, HTTPClientException
request in interface ClientInterfacerequestUrl - requestBody - config - IOExceptionHTTPClientExceptionpublic String post(String requestUrl, Map<String,String> params, Config config) throws IOException, HTTPClientException
post in interface ClientInterfacerequestUrl - params - config - IOExceptionHTTPClientExceptionCopyright © 2017. All rights reserved.