public class MockProviderConfig
Configuration of the Pact Mock Server.
By default this class will setup the configuration for a http mock server running on local host and a random port
@NotNull public static java.lang.String LOCALHOST
@NotNull public static java.lang.String HTTP
public static au.com.dius.pact.consumer.model.MockProviderConfig.Companion Companion
@JvmOverloads public MockProviderConfig(@NotNull java.lang.String hostname, int port, @NotNull au.com.dius.pact.core.model.PactSpecVersion pactVersion, @NotNull java.lang.String scheme, @NotNull MockServerImplementation mockServerImplementation)
Configuration of the Pact Mock Server.
By default this class will setup the configuration for a http mock server running on local host and a random port
@JvmOverloads public MockProviderConfig(@NotNull java.lang.String hostname, int port, @NotNull au.com.dius.pact.core.model.PactSpecVersion pactVersion, @NotNull java.lang.String scheme)
Configuration of the Pact Mock Server.
By default this class will setup the configuration for a http mock server running on local host and a random port
@JvmOverloads public MockProviderConfig(@NotNull java.lang.String hostname, int port, @NotNull au.com.dius.pact.core.model.PactSpecVersion pactVersion)
Configuration of the Pact Mock Server.
By default this class will setup the configuration for a http mock server running on local host and a random port
@JvmOverloads public MockProviderConfig(@NotNull java.lang.String hostname, int port)
Configuration of the Pact Mock Server.
By default this class will setup the configuration for a http mock server running on local host and a random port
@JvmOverloads public MockProviderConfig(@NotNull java.lang.String hostname)
Configuration of the Pact Mock Server.
By default this class will setup the configuration for a http mock server running on local host and a random port
@JvmOverloads public MockProviderConfig()
Configuration of the Pact Mock Server.
By default this class will setup the configuration for a http mock server running on local host and a random port
@NotNull public java.lang.String url()
@NotNull public java.net.InetSocketAddress address()
@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()
@NotNull public MockServerImplementation getMockServerImplementation()
@JvmStatic @NotNull public static MockProviderConfig httpConfig(@NotNull java.lang.String hostname, int port, @NotNull au.com.dius.pact.core.model.PactSpecVersion pactVersion)
@JvmStatic @NotNull public static MockProviderConfig createDefault()
@JvmStatic @NotNull public static MockProviderConfig createDefault(@NotNull au.com.dius.pact.core.model.PactSpecVersion pactVersion)
@JvmStatic @NotNull public static MockProviderConfig createDefault(@NotNull java.lang.String host, @NotNull au.com.dius.pact.core.model.PactSpecVersion pactVersion)