public class MockHttpsKeystoreProviderConfig
extends MockProviderConfig
Mock Provider configuration for HTTPS using a keystore
| Modifier and Type | Class and Description |
|---|---|
static class |
MockHttpsKeystoreProviderConfig.Companion |
| Modifier and Type | Field and Description |
|---|---|
static MockHttpsKeystoreProviderConfig.Companion |
Companion |
HTTP, LOCALHOST| Constructor and Description |
|---|
MockHttpsKeystoreProviderConfig(java.lang.String keystore,
java.lang.String password,
java.lang.String hostname,
int port,
au.com.dius.pact.core.model.PactSpecVersion pactVersion,
java.lang.String scheme)
Mock Provider configuration for HTTPS using a keystore
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHostname() |
java.lang.String |
getKeystore() |
au.com.dius.pact.core.model.PactSpecVersion |
getPactVersion() |
java.lang.String |
getPassword() |
int |
getPort() |
java.lang.String |
getScheme() |
static MockProviderConfig |
httpsKeystoreConfig(java.lang.String hostname,
int port,
java.lang.String keystore,
java.lang.String password,
au.com.dius.pact.core.model.PactSpecVersion pactVersion)
Creates instance of config
|
static MockProviderConfig |
httpsKeystoreConfig(java.lang.String hostname,
int port,
java.lang.String keystore,
java.lang.String password)
Creates instance of config
|
static MockProviderConfig |
httpsKeystoreConfig(java.lang.String hostname,
java.lang.String keystore,
java.lang.String password)
Creates instance of config
|
static MockProviderConfig |
httpsKeystoreConfig(java.lang.String keystore,
java.lang.String password)
Creates instance of config
|
address, createDefault, createDefault, createDefault, getHostname, getPactVersion, getPort, getScheme, httpConfig, urlpublic static MockHttpsKeystoreProviderConfig.Companion Companion
public MockHttpsKeystoreProviderConfig(java.lang.String keystore,
java.lang.String password,
java.lang.String hostname,
int port,
au.com.dius.pact.core.model.PactSpecVersion pactVersion,
java.lang.String scheme)
Mock Provider configuration for HTTPS using a keystore
public java.lang.String getKeystore()
public java.lang.String getPassword()
public java.lang.String getHostname()
public int getPort()
public au.com.dius.pact.core.model.PactSpecVersion getPactVersion()
public java.lang.String getScheme()
public static MockProviderConfig httpsKeystoreConfig(java.lang.String hostname, int port, java.lang.String keystore, java.lang.String password, 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}public static MockProviderConfig httpsKeystoreConfig(java.lang.String hostname, int port, java.lang.String keystore, 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 passwordpublic static MockProviderConfig httpsKeystoreConfig(java.lang.String hostname, java.lang.String keystore, 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 passwordpublic static MockProviderConfig httpsKeystoreConfig(java.lang.String keystore, java.lang.String password)
Creates instance of config
keystore - Full path (including file name) of keystore to use.password - Keystore password