public class MockHttpsKeystoreProviderConfig
extends MockProviderConfig
Mock Provider configuration for HTTPS using a keystore
public static au.com.dius.pact.consumer.model.MockHttpsKeystoreProviderConfig.Companion Companion
public MockHttpsKeystoreProviderConfig(@NotNull
java.lang.String keystore,
@NotNull
java.lang.String password,
@NotNull
java.lang.String hostname,
int port,
@NotNull
au.com.dius.pact.core.model.PactSpecVersion pactVersion,
@NotNull
java.lang.String scheme)
Mock Provider configuration for HTTPS using a keystore
@NotNull public java.lang.String getKeystore()
@NotNull public java.lang.String getPassword()
@NotNull public java.lang.String getHostname()
public int getPort()
@NotNull public au.com.dius.pact.core.model.PactSpecVersion getPactVersion()
@NotNull public java.lang.String getScheme()
@JvmOverloads @JvmStatic @NotNull public static MockProviderConfig httpsKeystoreConfig(@NotNull java.lang.String hostname, int port, @NotNull java.lang.String keystore, @NotNull java.lang.String password, @NotNull au.com.dius.pact.core.model.PactSpecVersion pactVersion)
Creates instance of config
hostname - Name of the host to mockport - Port the mock service should listen onkeystore - Full path (including file name) of keystore to use.password - Keystore passwordpactVersion - Version of {@link PactSpecVersion}@JvmOverloads @JvmStatic @NotNull public static MockProviderConfig httpsKeystoreConfig(@NotNull java.lang.String hostname, int port, @NotNull java.lang.String keystore, @NotNull java.lang.String password)
Creates instance of config
hostname - Name of the host to mockport - Port the mock service should listen onkeystore - Full path (including file name) of keystore to use.password - Keystore password@JvmOverloads @JvmStatic @NotNull public static MockProviderConfig httpsKeystoreConfig(@NotNull java.lang.String hostname, @NotNull java.lang.String keystore, @NotNull java.lang.String password)
Creates instance of config
hostname - Name of the host to mockkeystore - Full path (including file name) of keystore to use.password - Keystore password@JvmOverloads @JvmStatic @NotNull public static MockProviderConfig httpsKeystoreConfig(@NotNull java.lang.String keystore, @NotNull java.lang.String password)
Creates instance of config
keystore - Full path (including file name) of keystore to use.password - Keystore password