| Package | Description |
|---|---|
| com.sap.cloud.sdk.cloudplatform.connectivity |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultDestinationLoader
Default implementation of a
DestinationLoader with convenience methods to add HTTP
and RFC destinations. |
class |
DestinationLoaderChain
Immutable implementation of the
DestinationLoader interface providing a way to define a chain
DestinationLoaders to go through until a destination was found. |
class |
EnvVarDestinationLoader
DestinationLoader implementation reading the destination from an environment variable. |
| Modifier and Type | Method and Description |
|---|---|
static DestinationLoader |
DestinationAccessor.getLoader()
The loader containing the platform specific logic to retrieve destinations.
|
| Modifier and Type | Method and Description |
|---|---|
DestinationLoaderChain.DestinationLoaderChainBuilder |
DestinationLoaderChain.DestinationLoaderChainBuilder.append(DestinationLoader nextLoader)
The next
DestinationLoader to query if the previous loaders did not return any Destination. |
static void |
DestinationAccessor.appendDestinationLoader(DestinationLoader loader)
Register an
DestinationLoader created at runtime. |
static DestinationLoaderChain.DestinationLoaderChainBuilder |
DestinationLoaderChain.builder(DestinationLoader firstLoader)
Entry point to build a custom
DestinationLoaderChain. |
static void |
DestinationAccessor.prependDestinationLoader(DestinationLoader loader)
Register an
DestinationLoader created at runtime. |
static void |
DestinationAccessor.setLoader(DestinationLoader loader)
Sets the loader to be used for all future method invocations on this
DestinationAccessor. |
| Constructor and Description |
|---|
DestinationLoaderChain(Collection<DestinationLoader> loaders)
Instantiates a
DestinationLoaderChain based on the given loaders in the order returned by
Collection.iterator(). |
Copyright © 2021 SAP SE. All rights reserved.