public abstract class AbstractDestination extends AbstractGenericDestination implements Destination
AbstractGenericDestination
implementing the Destination
interface.Modifier and Type | Method and Description |
---|---|
AuthenticationType |
getAuthenticationType() |
com.google.common.base.Optional<BasicCredentials> |
getBasicCredentials() |
List<Header> |
getHeaders(URI requestUri) |
com.google.common.base.Optional<String> |
getKeyStorePassword() |
com.google.common.base.Optional<ProxyConfiguration> |
getProxyConfiguration() |
ProxyType |
getProxyType() |
com.google.common.base.Optional<String> |
getTrustStorePassword() |
URI |
getUri() |
boolean |
isTrustingAllCertificates() |
equals, getDescription, getDestinationType, getName, getPropertiesByName, hashCode, toString
getKeyStore, getTrustStore
getDescription, getDestinationType, getName, getPropertiesByName
public com.google.common.base.Optional<BasicCredentials> getBasicCredentials()
public com.google.common.base.Optional<ProxyConfiguration> getProxyConfiguration()
getProxyConfiguration
in interface Destination
ProxyConfiguration
of the destination.public com.google.common.base.Optional<String> getTrustStorePassword()
getTrustStorePassword
in interface Destination
public com.google.common.base.Optional<String> getKeyStorePassword()
getKeyStorePassword
in interface Destination
public List<Header> getHeaders(@Nullable URI requestUri) throws DestinationAccessException
getHeaders
in interface Destination
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.public URI getUri()
getUri
in interface Destination
URI
of the destination.public AuthenticationType getAuthenticationType()
getAuthenticationType
in interface Destination
AuthenticationType
of the destination.public ProxyType getProxyType()
getProxyType
in interface Destination
ProxyType
of the destination.public boolean isTrustingAllCertificates()
isTrustingAllCertificates
in interface Destination
Copyright © 2018 SAP SE. All rights reserved.