| Package | Description |
|---|---|
| com.sap.cloud.sdk.cloudplatform.connectivity |
| Modifier and Type | Interface and Description |
|---|---|
interface |
HttpDestination
Platform independent representation of a HTTP destination as a collection of key-value pairs.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractHttpDestination
Abstract implementation of the
HttpDestination interface that delegates all interface methods to a base
HttpDestinationProperties object. |
class |
DefaultHttpDestination
Immutable default implementation of the
HttpDestination interface. |
| Modifier and Type | Method and Description |
|---|---|
default <TargetT extends HttpDestinationProperties> |
HttpDestination.decorate(Function<HttpDestinationProperties,TargetT> decorator)
Provides an convenient way to decorate this destination with a custom class.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultHttpDestination.Builder |
DefaultHttpDestination.builder(HttpDestinationProperties httpDestination)
Starts a builder to be used to create a
DefaultHttpDestination with some properties. |
org.apache.http.client.HttpClient |
AbstractHttpClientFactory.createHttpClient(HttpDestinationProperties destination) |
org.apache.http.client.HttpClient |
HttpClientFactory.createHttpClient(HttpDestinationProperties destination)
Creates an
HttpClient based on the given HttpDestinationProperties. |
protected abstract io.vavr.control.Try<CacheKey> |
AbstractHttpClientCache.getCacheKey(HttpDestinationProperties destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination. |
protected io.vavr.control.Try<CacheKey> |
RequestScopedHttpClientCache.getCacheKey(HttpDestinationProperties destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination. |
protected io.vavr.control.Try<CacheKey> |
TimeScopedHttpClientCache.getCacheKey(HttpDestinationProperties destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination. |
protected org.apache.http.impl.conn.PoolingHttpClientConnectionManager |
AbstractHttpClientFactory.getConnectionManager(HttpDestinationProperties destination)
Get the connection manager for the HTTP client builder.
|
protected org.apache.http.impl.conn.PoolingHttpClientConnectionManager |
DefaultHttpClientFactory.getConnectionManager(HttpDestinationProperties destination) |
static org.apache.http.client.HttpClient |
HttpClientAccessor.getHttpClient(HttpDestinationProperties destination)
Returns an
HttpClient for the given Destination. |
protected org.apache.http.impl.client.HttpClientBuilder |
AbstractHttpClientFactory.getHttpClientBuilder(HttpDestinationProperties destination)
Get a preconfigured HTTP client builder instance.
|
protected org.apache.http.client.config.RequestConfig.Builder |
AbstractHttpClientFactory.getRequestConfigBuilder(HttpDestinationProperties destination)
Get the request configuration builder for the HTTP client builder.
|
protected org.apache.http.client.config.RequestConfig.Builder |
DefaultHttpClientFactory.getRequestConfigBuilder(HttpDestinationProperties destination) |
protected org.apache.http.config.SocketConfig.Builder |
AbstractHttpClientFactory.getSocketConfigBuilder(HttpDestinationProperties destination)
Get the socket configuration builder for the HTTP client builder.
|
protected org.apache.http.config.SocketConfig.Builder |
DefaultHttpClientFactory.getSocketConfigBuilder(HttpDestinationProperties destination) |
static io.vavr.control.Try<org.apache.http.client.HttpClient> |
HttpClientAccessor.tryGetHttpClient(HttpDestinationProperties destination)
|
io.vavr.control.Try<org.apache.http.client.HttpClient> |
AbstractHttpClientCache.tryGetHttpClient(HttpDestinationProperties destination,
HttpClientFactory httpClientFactory)
Gets the
HttpClient for the given Destination from this cache. |
io.vavr.control.Try<org.apache.http.client.HttpClient> |
HttpClientCache.tryGetHttpClient(HttpDestinationProperties destination,
HttpClientFactory httpClientFactory)
Gets the
HttpClient for the given Destination from this cache. |
| Modifier and Type | Method and Description |
|---|---|
default <TargetT extends HttpDestinationProperties> |
HttpDestination.decorate(Function<HttpDestinationProperties,TargetT> decorator)
Provides an convenient way to decorate this destination with a custom class.
|
| Constructor and Description |
|---|
AbstractHttpDestination(HttpDestinationProperties baseDestination) |
Copyright © 2021 SAP SE. All rights reserved.