public class ScpNeoDestination extends AbstractDestination
ScpNeoGenericDestination
,
ScpNeoRfcDestination
authenticationType, basicCredentials, isTrustingAllCertificates, keyStoreLocation, keyStorePassword, proxyConfiguration, proxyType, trustStoreLocation, trustStorePassword, uri
Constructor and Description |
---|
ScpNeoDestination(com.sap.core.connectivity.api.configuration.DestinationConfiguration destinationConfiguration,
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.
|
com.sap.core.connectivity.api.configuration.DestinationConfiguration |
getDestinationConfiguration() |
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 ScpNeoDestination(@Nullable com.sap.core.connectivity.api.configuration.DestinationConfiguration destinationConfiguration, @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<String> getCloudConnectorLocationId()
@Nonnull public Optional<KeyStore> getTrustStore()
@Nonnull public Optional<KeyStore> getKeyStore()
@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.@Nullable public com.sap.core.connectivity.api.configuration.DestinationConfiguration getDestinationConfiguration()
Copyright © 2018 SAP SE. All rights reserved.