public class ScpCfDestination extends AbstractDestination
Destination
on SAP Cloud Platform Cloud Foundry.ScpCfGenericDestination
,
ScpCfRfcDestination
authenticationType, basicCredentials, isTrustingAllCertificates, keyStoreLocation, keyStorePassword, proxyConfiguration, proxyType, trustStoreLocation, trustStorePassword, uri
Constructor and Description |
---|
ScpCfDestination(com.google.gson.JsonObject destinationAsJson,
com.sap.cloud.sdk.cloudplatform.connectivity.XsuaaService xsuaaService,
com.sap.cloud.sdk.cloudplatform.connectivity.DestinationService destinationService,
com.sap.cloud.sdk.cloudplatform.connectivity.ConnectivityService connectivityService,
String name,
String description,
URI uri,
AuthenticationType authenticationType,
BasicCredentials basicCredentials,
ProxyType proxyType,
ProxyConfiguration proxyConfiguration,
boolean isTrustingAllCertificates,
String trustStoreLocation,
String trustStorePassword,
String keyStoreLocation,
String keyStorePassword,
String cloudConnectorLocationId,
Map<String,String> propertiesByName) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getCloudConnectorLocationId()
Getter for the location identifier used by the SAP Cloud Connector.
|
List<Header> |
getHeaders(URI requestUri) |
Optional<KeyStore> |
getKeyStore() |
Optional<ProxyConfiguration> |
getProxyConfiguration() |
Optional<KeyStore> |
getTrustStore() |
getAuthenticationType, getBasicCredentials, getKeyStorePassword, getProxyType, getTrustStorePassword, getUri, isTrustingAllCertificates
canEqual, equals, getDescription, getDestinationType, getName, getPropertiesByName, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDescription, getDestinationType, getName, getPropertiesByName
public ScpCfDestination(@Nullable com.google.gson.JsonObject destinationAsJson, @Nonnull com.sap.cloud.sdk.cloudplatform.connectivity.XsuaaService xsuaaService, @Nonnull com.sap.cloud.sdk.cloudplatform.connectivity.DestinationService destinationService, @Nonnull com.sap.cloud.sdk.cloudplatform.connectivity.ConnectivityService connectivityService, @Nonnull String name, @Nullable String description, @Nonnull URI uri, @Nonnull AuthenticationType authenticationType, @Nullable BasicCredentials basicCredentials, @Nonnull ProxyType proxyType, @Nullable ProxyConfiguration proxyConfiguration, boolean isTrustingAllCertificates, @Nullable String trustStoreLocation, @Nullable String trustStorePassword, @Nullable String keyStoreLocation, @Nullable String keyStorePassword, @Nullable String cloudConnectorLocationId, @Nonnull Map<String,String> propertiesByName)
@Nonnull public Optional<KeyStore> getTrustStore() throws DestinationAccessException
DestinationAccessException
- If there is an issue accessing the trust store.@Nonnull public Optional<KeyStore> getKeyStore() throws DestinationAccessException
DestinationAccessException
- If there is an issue accessing the key store.public Optional<String> getCloudConnectorLocationId()
@Nonnull public Optional<ProxyConfiguration> getProxyConfiguration() throws DestinationAccessException
AbstractDestination
getProxyConfiguration
in interface Destination
getProxyConfiguration
in class AbstractDestination
ProxyConfiguration
of the destination.DestinationAccessException
- If there is an issue accessing the ProxyConfiguration
.@Nonnull public List<Header> getHeaders(@Nullable URI requestUri) throws DestinationAccessException
AbstractDestination
getHeaders
in interface Destination
getHeaders
in class AbstractDestination
requestUri
- The URI to get the associated Header for.Header
s to be used with the destination and given request URI
.DestinationAccessException
- If there is an issue accessing the request headers.Copyright © 2018 SAP SE. All rights reserved.