public class BaseJdkMockServer
extends BaseMockServer
public static au.com.dius.pact.consumer.BaseJdkMockServer.Companion Companion
public BaseJdkMockServer(@NotNull au.com.dius.pact.core.model.RequestResponsePact pact, @NotNull MockProviderConfig config, @NotNull com.sun.net.httpserver.HttpServer server, boolean stopped)
public void handle(@NotNull com.sun.net.httpserver.HttpExchange exchange)
public void start()
public void stop()
@NotNull public java.lang.String getUrl()
Returns the URL for this mock server. The port will be the one bound by the server.
public int getPort()
Returns the port of the mock server. This will be the port the server is bound to.