public static class MockDestination.MockDestinationBuilder extends Object
@Nonnull public MockDestination.MockDestinationBuilder basicAuthentication(@Nonnull BasicCredentials credentials)
AuthenticationType.BASIC_AUTHENTICATION
. Potentially existing "Authorization" headers are not
modified or removed.credentials
- The destination credentials.public MockDestination.MockDestinationBuilder name(@Nonnull String name)
public MockDestination.MockDestinationBuilder uri(@Nonnull URI uri)
public MockDestination.MockDestinationBuilder authenticationType(@Nullable AuthenticationType authenticationType)
public MockDestination.MockDestinationBuilder credentials(@Nullable Credentials credentials)
public MockDestination.MockDestinationBuilder proxyType(@Nullable ProxyType proxyType)
public MockDestination.MockDestinationBuilder proxyConfiguration(@Nullable ProxyConfiguration proxyConfiguration)
public MockDestination.MockDestinationBuilder header(Header header)
public MockDestination.MockDestinationBuilder headers(Collection<? extends Header> headers)
public MockDestination.MockDestinationBuilder clearHeaders()
public MockDestination.MockDestinationBuilder trustStore(@Nullable KeyStore trustStore)
public MockDestination.MockDestinationBuilder trustStorePassword(@Nullable String trustStorePassword)
public MockDestination.MockDestinationBuilder isTrustingAllCertificates(@Nullable Boolean isTrustingAllCertificates)
public MockDestination.MockDestinationBuilder keyStore(@Nullable KeyStore keyStore)
public MockDestination.MockDestinationBuilder keyStorePassword(@Nullable String keyStorePassword)
public MockDestination.MockDestinationBuilder property(String propertyKey, String propertyValue)
public MockDestination.MockDestinationBuilder properties(Map<? extends String,? extends String> properties)
public MockDestination.MockDestinationBuilder clearProperties()
public MockDestination build()
Copyright © 2020 SAP SE. All rights reserved.