public interface HttpDestinationProperties extends DestinationProperties
Modifier and Type | Method and Description |
---|---|
AuthenticationType |
getAuthenticationType()
Returns the authentication type to be expected when authenticating at the remote system.
|
io.vavr.control.Option<BasicCredentials> |
getBasicCredentials()
Returns the basic credentials to be used for authentication at the remote system.
|
default Collection<Header> |
getHeaders(URI requestUri)
Getter for a collection of header that should be added to the outgoing request for this destination.
|
io.vavr.control.Option<KeyStore> |
getKeyStore()
The KeyStore to be used when communicating over HTTP.
|
io.vavr.control.Option<String> |
getKeyStorePassword()
The password for the Key Store to be used when communicating over HTTP.
|
io.vavr.control.Option<ProxyConfiguration> |
getProxyConfiguration()
The
ProxyConfiguration to be used when communicating over HTTP. |
io.vavr.control.Option<ProxyType> |
getProxyType()
Returns the
ProxyType that is configured for this destination. |
io.vavr.control.Option<String> |
getTlsVersion()
The TLS version to be used when communicating over HTTP.
|
io.vavr.control.Option<KeyStore> |
getTrustStore() |
io.vavr.control.Option<String> |
getTrustStorePassword() |
URI |
getUri()
Getter for the
URI to communicate with. |
boolean |
isTrustingAllCertificates()
Indicates whether all server certificates should be accepted when communicating over HTTP.
|
get, get, get, get
@Nonnull URI getUri()
URI
to communicate with.
This is a mandatory property of a HttpDestination.
URI
to be used with this destination.@Nonnull io.vavr.control.Option<String> getTlsVersion()
Option
wrapping the TLS version to use, if any.@Nonnull io.vavr.control.Option<ProxyConfiguration> getProxyConfiguration()
ProxyConfiguration
to be used when communicating over HTTP.Option
wrapping the ProxyConfiguration
to use, if any.@Nonnull io.vavr.control.Option<KeyStore> getKeyStore()
Option
wrapping the KeyStore to use, if any.@Nonnull io.vavr.control.Option<String> getKeyStorePassword()
Option
wrapping the password to use, if any.boolean isTrustingAllCertificates()
true
if all certificates should be accepted, false
otherwise.@Nonnull io.vavr.control.Option<BasicCredentials> getBasicCredentials()
Option
wrapping the BasicCredentials
to use, if any.@Nonnull AuthenticationType getAuthenticationType()
@Nonnull io.vavr.control.Option<ProxyType> getProxyType()
ProxyType
that is configured for this destination.Option
wrapping the ProxyType
to use, if any.@Nonnull io.vavr.control.Option<KeyStore> getTrustStore()
DestinationAccessException
- If there is an issue accessing the trust store.@Nonnull io.vavr.control.Option<String> getTrustStorePassword()
@Nonnull default Collection<Header> getHeaders(@Nonnull URI requestUri)
requestUri
- The target URI of a request to which HTTP headers should be added.Copyright © 2019 SAP SE. All rights reserved.