Uses of Class
dev.galasa.http.HttpClientException
Packages that use HttpClientException
-
Uses of HttpClientException in dev.galasa.http
Methods in dev.galasa.http that throw HttpClientExceptionModifier 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.org.apache.http.client.methods.CloseableHttpResponse
Download a file from a specified location to a specified destination on local host.org.apache.http.client.methods.CloseableHttpResponse
IHttpClient.getFile
(String path, ContentType... acceptTypes) Download a file from a specified location to a specified destination on local host.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.IHttpClient.post
(String path, Map<String, String> queryParams, ContentType contentType, Object data, ContentType[] acceptTypes, Class<?>[] jaxbClasses, boolean retry) 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.IHttpClient.postForm
(String path, Map<String, String> queryParams, HashMap<String, String> fields, ContentType[] acceptTypes, Class<?>[] jaxbClasses, boolean retry) 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.IHttpClient.setTrustingSSLContext()
Set the SSL Context to a Trust All contextIHttpClient.setupClientAuth
(KeyStore clientKeyStore, KeyStore serverKeyStore, String alias, String password) Set up Client Authentication SSL Context and installstatic 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)