public class CommonsHttpClientImpl extends Object implements HttpClient
| Constructor and Description |
|---|
CommonsHttpClientImpl(Map<String,String> headers) |
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
sendDeleteRequest(String url,
String json) |
HttpResponse |
sendGetRequest(String url) |
HttpResponse |
sendPatchRequest(String url,
String json) |
HttpResponse |
sendPostRequest(String url,
String json) |
HttpResponse |
sendPutRequest(String url,
String json) |
public HttpResponse sendGetRequest(String url) throws Exception
sendGetRequest in interface HttpClientExceptionpublic HttpResponse sendPostRequest(String url, String json) throws Exception
sendPostRequest in interface HttpClientExceptionpublic HttpResponse sendPutRequest(String url, String json) throws Exception
sendPutRequest in interface HttpClientExceptionpublic HttpResponse sendPatchRequest(String url, String json) throws Exception
sendPatchRequest in interface HttpClientExceptionpublic HttpResponse sendDeleteRequest(String url, String json) throws Exception
sendDeleteRequest in interface HttpClientExceptionCopyright © 2021 SeMI Technologies B.V.. All rights reserved.