Mock Provider configuration for HTTPS using a keystore
| Fields inherited from class | Fields |
|---|---|
class MockProviderConfig |
LOCALHOST, portLowerBound, portUpperBound |
| Constructor and description |
|---|
MockHttpsKeystoreProviderConfig
(java.lang.String hostname, int port, java.lang.String keystore, java.lang.String password, au.com.dius.pact.model.PactSpecVersion pactVersion) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
getKeystore()
|
|
java.lang.String |
getKeystorePassword()@return The password for the keystore |
|
static MockProviderConfig |
httpsKeystoreConfig(java.lang.String hostname = 'localhost', int port = 0, java.lang.String keystore, java.lang.String password, au.com.dius.pact.model.PactSpecVersion pactVersion = PactSpecVersion.V2)Creates instance of config |
| Methods inherited from class | Name |
|---|---|
class MockProviderConfig |
address, create, create, createDefault, createDefault, createDefault, httpConfig, randomPort, url |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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 au.com.dius.pact.model.PactSpecVersion