Uses of Class
com.sap.cloud.sdk.cloudplatform.connectivity.DefaultHttpDestination.Builder
-
Uses of DefaultHttpDestination.Builder in com.sap.cloud.sdk.cloudplatform.connectivity
Modifier and TypeMethodDescriptionDefaultHttpDestination.Builder.authenticationType
(AuthenticationType authenticationType) Sets the expected authentication type of theDefaultHttpDestination
.DefaultHttpDestination.Builder.basicCredentials
(BasicCredentials basicCredentials) Sets the credentials for accessing the destination when basic authentication is used.DefaultHttpDestination.Builder.basicCredentials
(String user, String password) Sets the credentials for accessing the destination usingAuthenticationType.BASIC_AUTHENTICATION
.Starts a builder to be used to create aDefaultHttpDestination
with property: .Starts a builder to be used to create aDefaultHttpDestination
with some properties.DefaultHttpDestination.Builder.cloudConnectorLocationId
(String locationId) Sets the connectivity location id of the destination.DefaultHttpDestination.fromDestination
(Destination destination) Creates a newDefaultHttpDestination
instance from the givenDestination
by copying all properties returned byDestinationProperties.getPropertyNames()
.Creates a newDefaultHttpDestination
instance from the given map of properties.DefaultHttpDestination.fromProperties
(DestinationProperties properties) Creates a newDefaultHttpDestination
instance from the givenDestinationProperties
by copying all properties returned byDestinationProperties.getPropertyNames()
.Adds the given header to the list of headers added to every outgoing request for this destination.Adds a header given by theheaderName
andheaderValue
to the list of headers added to every outgoing request for this destination.DefaultHttpDestination.Builder.headerProviders
(DestinationHeaderProvider... headerProviders) Registers the providedDestinationHeaderProvider
instances on this Destination.DefaultHttpDestination.Builder.headers
(Collection<Header> headers) Adds the given headers to the list of headers added to every outgoing request for this destination.TheKeyStore
to be used when communicating over HTTP.DefaultHttpDestination.Builder.keyStorePassword
(String value) Sets the key store password for the correspondingKeyStore
used by theDefaultHttpDestination
to access the key store.Sets the name of theDefaultHttpDestination
.<ValueT> DefaultHttpDestination.Builder
DefaultHttpDestination.Builder.property
(DestinationPropertyKey<ValueT> key, ValueT value) Adds the given key-value pair to the destination to be created.Adds the given key-value pair to the destination to be created.Sets the proxy host and proxy port of theDefaultHttpDestination
.Sets the proxy URI of theDefaultHttpDestination
.DefaultHttpDestination.Builder.proxyAuthorization
(String proxyAuthorization) Sets the proxy authorization header of theDefaultHttpDestination
.DefaultHttpDestination.Builder.proxyConfiguration
(ProxyConfiguration value) Sets the proxy used by the destination to the given value.Sets the proxy type (Internet or On-Premise).DefaultHttpDestination.Builder.removeProperty
(DestinationPropertyKey<?> key) Removes the property with the given key from the destination to be created.DefaultHttpDestination.Builder.removeProperty
(String key) Removes the property with the given key from the destination to be created.DefaultHttpDestination.Builder.securityConfiguration
(SecurityConfigurationStrategy securityConfigurationStrategy) Sets theSecurityConfigurationStrategy
for outbound calls via this Destination to decide if theSSLContext
should be derived from the Destination Configuration or from the cloud platform (i.e. the environment).DefaultHttpDestination.Builder.tlsVersion
(String value) Sets the TLS version used by theDefaultHttpDestination
to the given value.DefaultHttpDestination.toBuilder()
Returns a newDefaultHttpDestination.Builder
instance that is initialized with thisDefaultHttpDestination
.DefaultHttpDestination.Builder.trustAllCertificates()
Lets theDefaultHttpDestination
trust all server certificates.DefaultHttpDestination.Builder.trustStore
(KeyStore trustStore) The trust store to be used when communicating over HTTP.DefaultHttpDestination.Builder.trustStorePassword
(String value) Sets the password of the trust store.Sets the URI of the to-be-builtDefaultHttpDestination
.Sets the URI of the to-be-builtDefaultHttpDestination
.OAuth2DestinationBuilder.BuilderWithTokenEndpoint.withClient
(com.sap.cloud.security.config.ClientIdentity clientIdentity, OnBehalfOf behalf) Apply the OAuth2 client identity and representative.