-
- All Implemented Interfaces:
-
au.com.dius.pact.consumer.MockServer
public final class KTorMockServer extends BaseMockServer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classKTorMockServer.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BasePactpactprivate final MockProviderConfigconfig
-
Constructor Summary
Constructors Constructor Description KTorMockServer(BasePact pact, MockProviderConfig config, Long stopTimeout)
-
Method Summary
-
-
Constructor Detail
-
KTorMockServer
KTorMockServer(BasePact pact, MockProviderConfig config, Long stopTimeout)
-
-
Method Detail
-
getPact
final BasePact getPact()
-
getConfig
final MockProviderConfig getConfig()
-
getUrl
String getUrl()
Returns the URL for this mock server. The port will be the one bound by the server.
-
getPort
Integer getPort()
Returns the port of the mock server. This will be the port the server is bound to.
-
-
-
-