public interface HttpClientFactory
CloseableHttpClient creation interface.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_HTTP_CLIENT_FACTORY |
static List<HttpClientFactory> |
services |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.impl.client.CloseableHttpClient |
create(ClientIdentity clientIdentity)
Don't close the HTTPClient when you've provided it to
TokenAuthenticator or XsuaaTokenFlows instance. |
org.apache.http.impl.client.CloseableHttpClient |
createClient(ClientIdentity clientIdentity)
Provides CloseableHttpClient based on ClientIdentity details.
|
static final List<HttpClientFactory> services
static final String DEFAULT_HTTP_CLIENT_FACTORY
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
TokenAuthenticator or XsuaaTokenFlows instance.clientIdentity - to identify the identity provider client.HttpClientExceptionCopyright © 2023. All rights reserved.