Uses of Class
dev.galasa.http.HttpClientResponse
Packages that use HttpClientResponse
-
Uses of HttpClientResponse in dev.galasa.http
Methods in dev.galasa.http that return HttpClientResponseModifier and TypeMethodDescriptionstatic HttpClientResponse<byte[]>
HttpClientResponse.byteResponse
(org.apache.http.client.methods.CloseableHttpResponse httpResponse) Create anHttpClientResponse
with a byte array content type from anHttpResponse
.static HttpClientResponse<byte[]>
HttpClientResponse.byteResponse
(org.apache.http.client.methods.CloseableHttpResponse httpResponse, boolean contentOnBadResponse) Create anHttpClientResponse
with a byte array content type from anHttpResponse
.HttpClientResponse<byte[]>
IHttpClient.deleteBinary
(String url, byte[] binary) Issue an HTTP DELETE to the provided URL, sending the providedbyte
and receiving abyte
in the response.IHttpClient.deleteJaxb
(String url, Class<?>... responseTypes) Issue an HTTP DELETE to the provided URL, receiving a JAXB Object in the response.HttpClientResponse<com.google.gson.JsonObject>
IHttpClient.deleteJson
(String url) Issue an HTTP DELETE to the provided URL, receiving a com.google.gson.JsonObject in the response.HttpClientResponse<com.google.gson.JsonObject>
IHttpClient.deleteJson
(String url, com.google.gson.JsonObject json) Issue an HTTP DELETE to the provided URL, receiving a com.google.gson.JsonObject in the response.IHttpClient.deleteText
(String url) Issue an HTTP DELETE to the provided URL, receiving aString
in the response.HttpClientResponse<byte[]>
Issue an HTTP GET to the provided URL, sending the providedbyte
and receiving abyte
in the response.Issue an HTTP GET to the provided URL, receiving a JAXB Object in the response.HttpClientResponse<com.google.gson.JsonObject>
Issue an HTTP GET to the provided URL, receiving a com.google.gson.JsonObject in the response.Issue an HTTP GET to the provided URL, receiving aString
in the response.Execute anHttpClientRequest
returning a JAXB object available through the returnedHttpClientResponse
.static HttpClientResponse<Object>
HttpClientResponse.jaxbResponse
(org.apache.http.client.methods.CloseableHttpResponse httpResponse, boolean contentOnBadResponse, Class<?>... responseTypes) static HttpClientResponse<Object>
HttpClientResponse.jaxbResponse
(org.apache.http.client.methods.CloseableHttpResponse httpResponse, Class<?>... responseTypes) static HttpClientResponse<com.google.gson.JsonObject>
HttpClientResponse.jsonResponse
(org.apache.http.client.methods.CloseableHttpResponse httpResponse) Create anHttpClientResponse
with a com.google.gson.JsonObject content type from anHttpResponse
.static HttpClientResponse<com.google.gson.JsonObject>
HttpClientResponse.jsonResponse
(org.apache.http.client.methods.CloseableHttpResponse httpResponse, boolean contentOnBadResponse) Create anHttpClientResponse
with a com.google.gson.JsonObject content type from anHttpResponse
.HttpClientResponse<com.google.gson.JsonObject>
Issue an HTTP PATCH to the provided URL, sending the provided com.google.gson.JsonObject and receiving a com.google.gson.JsonObject in the response.HttpClientResponse<byte[]>
IHttpClient.postBinary
(String url, byte[] binary) Issue an HTTP POST to the provided URL, sending the providedbyte
and receiving abyte
in the response.Issue an HTTP POST to the provided URL, sending the provided jaxbObject and receiving a JAXB Object in the response.HttpClientResponse<com.google.gson.JsonObject>
Issue an HTTP POST to the provided URL, sending the provided com.google.gson.JsonObject and receiving a com.google.gson.JsonObject in the response.Issue an HTTP POST to the provided URL, sending the provided XML as a String and receiving a String in the response.Issue an HTTP POST to the provided URL, sending the provided XML as a String and receiving a String in the response.HttpClientResponse<byte[]>
Issue an HTTP PUT to the provided URL, sending the providedbyte
and receiving abyte
in the response.Issue an HTTP PUT to the provided URL, sending the provided jaxbObject and receiving a JAXB Object in the response.HttpClientResponse<com.google.gson.JsonObject>
Issue an HTTP PUT to the provided URL, sending the providedcom.google.gson.JsonObject
and receiving acom.google.gson.JsonObject
in the response.Issue an HTTP PUT to the provided URL, sending the provided XML as a String and receiving a String in the response.Issue an HTTP PUT to the provided URL, sending the provided XML as a String and receiving a String in the response.static HttpClientResponse<String>
HttpClientResponse.textResponse
(org.apache.http.client.methods.CloseableHttpResponse httpResponse) static HttpClientResponse<String>
HttpClientResponse.textResponse
(org.apache.http.client.methods.CloseableHttpResponse httpResponse, boolean contentOnBadResponse) static HttpClientResponse<Document>
HttpClientResponse.xmlResponse
(org.apache.http.client.methods.CloseableHttpResponse httpResponse) static HttpClientResponse<Document>
HttpClientResponse.xmlResponse
(org.apache.http.client.methods.CloseableHttpResponse httpResponse, boolean contentOnBadResponse)