public static class MockDestination.MockDestinationBuilder extends Object
public MockDestination.MockDestinationBuilder basicAuthentication(@Nonnull BasicCredentials credentials)
AuthenticationType.BASIC_AUTHENTICATION
and adds an "Authorization" header for the given credentials.
Potentially existing "Authorization" headers are not modified or removed.public MockDestination.MockDestinationBuilder name(String name)
public MockDestination.MockDestinationBuilder uri(URI uri)
public MockDestination.MockDestinationBuilder authenticationType(AuthenticationType authenticationType)
public MockDestination.MockDestinationBuilder proxyType(ProxyType proxyType)
public MockDestination.MockDestinationBuilder proxyConfiguration(ProxyConfiguration proxyConfiguration)
public MockDestination.MockDestinationBuilder header(Header header)
public MockDestination.MockDestinationBuilder headers(Collection<? extends Header> headers)
public MockDestination.MockDestinationBuilder clearHeaders()
public MockDestination.MockDestinationBuilder trustStore(KeyStore trustStore)
public MockDestination.MockDestinationBuilder trustStorePassword(String trustStorePassword)
public MockDestination.MockDestinationBuilder isTrustingAllCertificates(Boolean isTrustingAllCertificates)
public MockDestination.MockDestinationBuilder keyStore(KeyStore keyStore)
public MockDestination.MockDestinationBuilder keyStorePassword(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 © 2019 SAP SE. All rights reserved.