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 ofHttpServerStubConfigurerfor WireMock'sWireMockConfiguration.- 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 Constructor Description WireMockHttpServerStubConfigurer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAccepted(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, wait
-
Methods inherited from interface org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer
configure
-
-
-
-
Method Detail
-
isAccepted
public boolean isAccepted(Object httpStubConfiguration)
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
-
-