Class DefaultErpHttpDestination
java.lang.Object
com.sap.cloud.sdk.s4hana.connectivity.DefaultErpHttpDestination
- All Implemented Interfaces:
DestinationProperties,HttpDestination,HttpDestinationProperties,ErpHttpDestination,ErpHttpDestinationProperties
Deprecated.
Delegator implementation of the
ErpHttpDestination interface, delegating all
HttpDestinationProperties calls to the wrapped destination.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.Builder class to allow for easy creation of an immutableDefaultErpHttpDestinationinstance. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.The header which will get the stored Locale set.static final StringDeprecated.The header which will get the stored com.sap.cloud.sdk.s4hana.serialization.SapClient set.Fields inherited from interface com.sap.cloud.sdk.s4hana.connectivity.ErpHttpDestinationProperties
LOCALE_KEY, SAP_CLIENT_KEYFields inherited from interface com.sap.cloud.sdk.cloudplatform.connectivity.HttpDestinationProperties
HEADER_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionDefaultErpHttpDestination(HttpDestinationProperties baseDestination) Deprecated.Constructor wrapping the given destination and redirecting allHttpDestinationPropertiescalls to the given destination. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Starts a builder to be used to create aDefaultErpHttpDestinationwith some properties.Deprecated.Starts a builder to be used to create aDefaultErpHttpDestinationwith some properties.protected booleanDeprecated.booleanDeprecated.io.vavr.control.Option<Object>Deprecated.Deprecated.io.vavr.control.Option<BasicCredentials>Deprecated.getHeaders(URI requestUri) Deprecated.io.vavr.control.Option<KeyStore>Deprecated.io.vavr.control.Option<String>Deprecated.io.vavr.control.Option<String>getName()Deprecated.Get the destination name.Deprecated.io.vavr.control.Option<ProxyConfiguration>Deprecated.io.vavr.control.Option<ProxyType>Deprecated.io.vavr.control.Option<String>Deprecated.io.vavr.control.Option<KeyStore>Deprecated.io.vavr.control.Option<String>Deprecated.getUri()Deprecated.inthashCode()Deprecated.booleanDeprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.cloudplatform.connectivity.DestinationProperties
get, get, getMethods inherited from interface com.sap.cloud.sdk.s4hana.connectivity.ErpHttpDestinationProperties
getLocale, getSapClientMethods inherited from interface com.sap.cloud.sdk.cloudplatform.connectivity.HttpDestination
decorateMethods inherited from interface com.sap.cloud.sdk.cloudplatform.connectivity.HttpDestinationProperties
getHeadersFromProperties, getSecurityConfigurationStrategy
-
Field Details
-
SAP_CLIENT_HEADER_NAME
Deprecated.The header which will get the stored com.sap.cloud.sdk.s4hana.serialization.SapClient set.- See Also:
-
LOCALE_HEADER_NAME
Deprecated.The header which will get the stored Locale set.- See Also:
-
-
Constructor Details
-
DefaultErpHttpDestination
Deprecated.Constructor wrapping the given destination and redirecting allHttpDestinationPropertiescalls to the given destination.- Parameters:
baseDestination- The destination to wrap.
-
-
Method Details
-
get
Deprecated.- Specified by:
getin interfaceDestinationProperties
-
getPropertyNames
Deprecated.- Specified by:
getPropertyNamesin interfaceDestinationProperties
-
getUri
Deprecated.- Specified by:
getUriin interfaceHttpDestinationProperties
-
getTlsVersion
Deprecated.- Specified by:
getTlsVersionin interfaceHttpDestinationProperties
-
getProxyConfiguration
Deprecated.- Specified by:
getProxyConfigurationin interfaceHttpDestinationProperties
-
getKeyStore
Deprecated.- Specified by:
getKeyStorein interfaceHttpDestinationProperties
-
getKeyStorePassword
Deprecated.- Specified by:
getKeyStorePasswordin interfaceHttpDestinationProperties
-
isTrustingAllCertificates
public boolean isTrustingAllCertificates()Deprecated.- Specified by:
isTrustingAllCertificatesin interfaceHttpDestinationProperties
-
getBasicCredentials
Deprecated.- Specified by:
getBasicCredentialsin interfaceHttpDestinationProperties
-
getProxyType
Deprecated.- Specified by:
getProxyTypein interfaceHttpDestinationProperties
-
getName
Deprecated.Get the destination name.- Returns:
- The destination name.
-
getTrustStore
Deprecated.- Specified by:
getTrustStorein interfaceHttpDestinationProperties
-
getTrustStorePassword
Deprecated.- Specified by:
getTrustStorePasswordin interfaceHttpDestinationProperties
-
getAuthenticationType
Deprecated.- Specified by:
getAuthenticationTypein interfaceHttpDestinationProperties
-
getHeaders
Deprecated.- Specified by:
getHeadersin interfaceHttpDestinationProperties
-
builder
Deprecated.Starts a builder to be used to create aDefaultErpHttpDestinationwith some properties.- Parameters:
uri- The uri of theDefaultErpHttpDestinationto be created.- Returns:
- A new
Builderinstance.
-
builder
Deprecated.Starts a builder to be used to create aDefaultErpHttpDestinationwith some properties.- Parameters:
uri- The uri of theDefaultErpHttpDestinationto be created. In case this is no valid URI anIllegalArgumentExceptionis thrown.- Returns:
- A new
Builderinstance. - Throws:
IllegalArgumentException- if the givenuriis no valid URI.
-
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated.
-
In case the
sap-languageis not defined statically on the destination, but should be derived dynamically, please set a propertycloudsdk.dynamicSapLanguage: trueon the destination.