Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.connectivity | |
com.sap.cloud.sdk.s4hana.connectivity | |
com.sap.cloud.sdk.testutil |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDestination
Abstract base class based on
AbstractGenericDestination implementing the Destination interface. |
class |
ScpCfDestination
Implementation of
Destination on SAP Cloud Platform Cloud Foundry. |
class |
ScpNeoDestination
Destination used with the Neo platform.
|
Modifier and Type | Method and Description |
---|---|
Destination |
AbstractDestinationFacade.getDestination(String destinationName)
Returns the
Destination for the given name. |
static Destination |
DestinationAccessor.getDestination(String destinationName)
Returns the
Destination for the given name. |
Destination |
DestinationFacade.getDestination(String destinationName)
Returns the
Destination for the given name. |
Modifier and Type | Method and Description |
---|---|
Class<? extends Destination> |
DestinationFacade.getDestinationClass()
Returns the platform-specific implementation class of
Destination . |
Class<? extends Destination> |
ScpCfDestinationFacade.getDestinationClass()
Returns the platform-specific implementation class of
Destination . |
Class<? extends Destination> |
ScpNeoDestinationFacade.getDestinationClass()
Returns the platform-specific implementation class of
Destination . |
Map<String,Destination> |
AbstractDestinationFacade.getDestinationsByName()
Returns all destinations that are of type
DestinationType.HTTP by their names. |
static Map<String,Destination> |
DestinationAccessor.getDestinationsByName()
Returns all known
Destination s that are of type DestinationType.HTTP by their names. |
Map<String,Destination> |
DestinationFacade.getDestinationsByName()
Returns all destinations that are of type
DestinationType.HTTP by their names. |
Modifier and Type | Method and Description |
---|---|
org.apache.http.client.HttpClient |
HttpClientFactory.createHttpClient(Destination destination)
Creates an
HttpClient based on the given Destination . |
org.apache.http.client.HttpClient |
DefaultHttpClientFactory.createHttpClient(Destination destination)
Creates an
HttpClient based on the given Destination . |
protected CacheKey |
TimeScopedHttpClientCache.getCacheKey(Destination destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
protected CacheKey |
RequestScopedHttpClientCache.getCacheKey(Destination destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
protected abstract CacheKey |
HttpClientCache.getCacheKey(Destination destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
List<Header> |
DestinationHeaderProvider.getHeaders(Destination destination)
Provides a list of
Header objects which should be used with the given destination. |
static org.apache.http.client.HttpClient |
HttpClientAccessor.getHttpClient(Destination destination) |
protected org.apache.http.client.HttpClient |
HttpClientCache.getHttpClient(Destination destination,
HttpClientFactory httpClientFactory)
Gets the
HttpClient for the given Destination from this cache. |
Modifier and Type | Method and Description |
---|---|
protected URI |
HttpRequestExecutor.getRequestUri(ErpConfigContext configContext,
Destination destination,
SerializedQuery<QueryT> serializedQuery) |
Modifier and Type | Method and Description |
---|---|
Destination |
MockUtil.mockDestination(MockDestination destination)
Mocks a destination based on the given
MockDestination . |
Destination |
MockUtil.mockDestination(String name,
String systemAlias)
Mocks a destination with a given name to the given system with the registered credentials.
|
Destination |
MockUtil.mockDestination(String name,
TestSystem<?> testSystem)
Mocks a destination with a given name to the given
TestSystem with the registered credentials. |
Destination |
MockUtil.mockDestination(String name,
URI uri)
Mocks a destination with a given name to redirect to the given
URI with no authentication. |
Destination |
MockUtil.mockDestination(String name,
URI uri,
AuthenticationType authenticationType,
ProxyType proxyType,
ProxyConfiguration proxyConfiguration,
List<Header> headers,
KeyStore trustStore,
String trustStorePassword,
Boolean isTrustingAllCertificates,
KeyStore keyStore,
String keyStorePassword,
Map<String,String> propertiesByName)
Mocks a destination based on the given parameters.
|
Destination |
MockUtil.mockDestination(String name,
URI uri,
Credentials credentials)
Mocks a destination with a given name to redirect to the given
URI with the given Credentials . |
Destination |
MockUtil.mockDestination(String name,
URI uri,
Credentials credentials,
ProxyConfiguration proxyConfiguration)
Mocks a destination with a given name to redirect to the given
URI with the given Credentials . |
Destination |
MockUtil.mockErpDestination()
Mocks an ERP
Destination by redirecting to an actual ERP system for destination name "ErpQueryEndpoint". |
Destination |
MockUtil.mockErpDestination(ErpSystem erpSystem)
Mocks an ERP
Destination by redirecting to an actual ERP system for destination name "ErpQueryEndpoint". |
Destination |
MockUtil.mockErpDestination(ErpSystem erpSystem,
Credentials credentials)
Mocks an ERP
Destination for the given ErpSystem and Credentials for destination name
"ErpQueryEndpoint". |
Destination |
MockUtil.mockErpDestination(MockErpDestination destination)
Mocks an ERP
Destination for the given MockErpDestination . |
Destination |
MockUtil.mockErpDestination(String systemAlias)
Mocks an ERP
Destination by redirecting to an actual ERP system for destination name "ErpQueryEndpoint". |
Destination |
MockUtil.mockErpDestination(String destinationName,
ErpSystem erpSystem)
Mocks an ERP
Destination by redirecting to an actual ERP system for the given destination name. |
Destination |
MockUtil.mockErpDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials)
|
Destination |
MockUtil.mockErpDestination(String destinationName,
ErpSystem erpSystem,
Credentials credentials,
AuthenticationType authenticationType,
ProxyType proxyType,
ProxyConfiguration proxyConfiguration,
List<Header> headers,
KeyStore trustStore,
String trustStorePassword,
Boolean isTrustingAllCertificates,
KeyStore keyStore,
String keyStorePassword,
Map<String,String> propertiesByName)
Mocks an ERP
Destination for the given parameters. |
Destination |
MockUtil.mockErpDestination(String destinationName,
String systemAlias)
Mocks an ERP
Destination by redirecting to an actual ERP system for the given destination name. |
Copyright © 2018 SAP SE. All rights reserved.