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
  • Constructor Details

    • WireMockHttpServerStubConfigurer

      public WireMockHttpServerStubConfigurer()
  • Method Details

    • isAccepted

      public boolean isAccepted(Object httpStubConfiguration)
      Description copied from interface: HttpServerStubConfigurer
      Ensures that the HTTP server stub implementation configuration type is accepted.
      Specified by:
      isAccepted in interface HttpServerStubConfigurer<com.github.tomakehurst.wiremock.core.WireMockConfiguration>
      Parameters:
      httpStubConfiguration - - HTTP server stub implementation
      Returns:
      true when this configurer can be applied for this object