public interface HttpClientFactory
CloseableHttpClient creation interface.| Modifier and Type | Field and Description |
|---|---|
static List<HttpClientFactory> |
services |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.impl.client.CloseableHttpClient |
create(ClientIdentity clientIdentity) |
org.apache.http.impl.client.CloseableHttpClient |
createClient(ClientIdentity clientIdentity)
Provides CloseableHttpClient based on ClientIdentity details.
|
static final List<HttpClientFactory> services
org.apache.http.impl.client.CloseableHttpClient createClient(ClientIdentity clientIdentity) throws HttpClientException
clientIdentity - for X.509 certificate based communication
ClientCertificate implementation of ClientIdentity
interface should be providedHttpClientException - in case HTTPS Client could not be setupstatic org.apache.http.impl.client.CloseableHttpClient create(ClientIdentity clientIdentity) throws HttpClientException
HttpClientExceptionCopyright © 2021. All rights reserved.