Class WireMockHttpServerStubConfigurer
java.lang.Object
org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStubConfigurer
- All Implemented Interfaces:
HttpServerStubConfigurer<com.github.tomakehurst.wiremock.core.WireMockConfiguration>
public class WireMockHttpServerStubConfigurer
extends Object
implements HttpServerStubConfigurer<com.github.tomakehurst.wiremock.core.WireMockConfiguration>
Typed implementation of
HttpServerStubConfigurer for WireMock's
WireMockConfiguration.- Since:
- 2.1.0
- Author:
- Marcin Grzejszczak
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer
HttpServerStubConfigurer.NoOpHttpServerStubConfigurer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAccepted(Object httpStubConfiguration) Ensures that the HTTP server stub implementation configuration type is accepted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer
configure
-
Constructor Details
-
WireMockHttpServerStubConfigurer
public WireMockHttpServerStubConfigurer()
-
-
Method Details
-
isAccepted
Description copied from interface:HttpServerStubConfigurerEnsures that the HTTP server stub implementation configuration type is accepted.- Specified by:
isAcceptedin interfaceHttpServerStubConfigurer<com.github.tomakehurst.wiremock.core.WireMockConfiguration>- Parameters:
httpStubConfiguration- - HTTP server stub implementation- Returns:
truewhen this configurer can be applied for this object
-