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.hc.core5.http.ClassicHttpResponse httpResponse) Create anHttpClientResponsewith a byte array content type from anHttpResponse.static HttpClientResponse<byte[]>HttpClientResponse.byteResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse, boolean contentOnBadResponse) Create anHttpClientResponsewith a byte array content type from anHttpResponse.voidHttpFileResponse.close()Close the underlying HTTP response and release any system resources.HttpClientResponse<byte[]>IHttpClient.deleteBinary(String url, byte[] binary) Issue an HTTP DELETE to the provided URL, sending the providedbyteand receiving abytein 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 aStringin the response.HttpClientResponse<byte[]>Issue an HTTP GET to the provided URL, sending the providedbyteand receiving abytein the response.org.apache.http.client.methods.CloseableHttpResponseDeprecated.org.apache.http.client.methods.CloseableHttpResponseIHttpClient.getFile(String path, ContentType... acceptTypes) Deprecated.UseIHttpClient.getFileStream(String, ContentType...)instead.IHttpClient.getFileStream(String path) Download a file from a specified location, returning a wrapped response that provides access to the file stream and metadata.IHttpClient.getFileStream(String path, ContentType... acceptTypes) Download a file from a specified location with specific accept types, returning a wrapped response that provides access to the file stream and metadata.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 aStringin the response.Execute anHttpClientRequestreturning a JAXB object available through the returnedHttpClientResponse.static HttpClientResponse<Object>HttpClientResponse.jaxbResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse, boolean contentOnBadResponse, Class<?>... responseTypes) static HttpClientResponse<Object>HttpClientResponse.jaxbResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse, Class<?>... responseTypes) static HttpClientResponse<Object>HttpClientResponse.jaxbResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse, boolean contentOnBadResponse, Class<?>... responseTypes) Deprecated.This method uses the deprecated Apache HttpClient 4 API (CloseableHttpResponse).static HttpClientResponse<Object>HttpClientResponse.jaxbResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse, Class<?>... responseTypes) Deprecated.This method uses the deprecated Apache HttpClient 4 API (CloseableHttpResponse).static HttpClientResponse<com.google.gson.JsonObject>HttpClientResponse.jsonResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse) Create anHttpClientResponsewith a com.google.gson.JsonObject content type from anHttpResponse.static HttpClientResponse<com.google.gson.JsonObject>HttpClientResponse.jsonResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse, boolean contentOnBadResponse) Create anHttpClientResponsewith a com.google.gson.JsonObject content type from anHttpResponse.static HttpClientResponse<com.google.gson.JsonObject>HttpClientResponse.jsonResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse) Deprecated.This method uses the deprecated Apache HttpClient 4 API (CloseableHttpResponse).static HttpClientResponse<com.google.gson.JsonObject>HttpClientResponse.jsonResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse, boolean contentOnBadResponse) Deprecated.This method uses the deprecated Apache HttpClient 4 API (CloseableHttpResponse).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 providedbyteand receiving abytein 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 providedbyteand receiving abytein 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.JsonObjectand receiving acom.google.gson.JsonObjectin 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 keyStore, String password) Set up Client Authentication SSL Context using a single KeyStore for both client certificates and server trust.IHttpClient.setupClientAuth(KeyStore clientKeyStore, KeyStore serverKeyStore, String alias, String password) Set up Client Authentication SSL Context and installstatic HttpClientResponse<String>HttpClientResponse.textResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse) static HttpClientResponse<String>HttpClientResponse.textResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse, boolean contentOnBadResponse) static HttpClientResponse<Document>HttpClientResponse.xmlResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse) static HttpClientResponse<Document>HttpClientResponse.xmlResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse, boolean contentOnBadResponse) static HttpClientResponse<Document>HttpClientResponse.xmlResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse) Deprecated.This method uses the deprecated Apache HttpClient 4 API (CloseableHttpResponse).static HttpClientResponse<Document>HttpClientResponse.xmlResponse(org.apache.http.client.methods.CloseableHttpResponse httpResponse, boolean contentOnBadResponse) Deprecated.This method uses the deprecated Apache HttpClient 4 API (CloseableHttpResponse).Constructors in dev.galasa.http that throw HttpClientExceptionModifierConstructorDescriptionHttpFileResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse) Public constructor for creating HttpFileResponse from ClassicHttpResponse.
IHttpClient.getFileStream(String)instead.