Class 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 Detail

      • WireMockHttpServerStubConfigurer

        public WireMockHttpServerStubConfigurer()
    • Method Detail

      • 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