Interface HttpClient
-
- All Known Implementing Classes:
CommonsHttpClientImpl
public interface HttpClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpResponsesendDeleteRequest(String url, String json)HttpResponsesendGetRequest(String url)HttpResponsesendHeadRequest(String url)HttpResponsesendPatchRequest(String url, String json)HttpResponsesendPostRequest(String url, String json)HttpResponsesendPutRequest(String url, String json)
-
-
-
Method Detail
-
sendGetRequest
HttpResponse sendGetRequest(String url) throws Exception
- Throws:
Exception
-
sendPostRequest
HttpResponse sendPostRequest(String url, String json) throws Exception
- Throws:
Exception
-
sendPutRequest
HttpResponse sendPutRequest(String url, String json) throws Exception
- Throws:
Exception
-
sendPatchRequest
HttpResponse sendPatchRequest(String url, String json) throws Exception
- Throws:
Exception
-
sendDeleteRequest
HttpResponse sendDeleteRequest(String url, String json) throws Exception
- Throws:
Exception
-
sendHeadRequest
HttpResponse sendHeadRequest(String url) throws Exception
- Throws:
Exception
-
-