Class HttpServerStubConfigurer.NoOpHttpServerStubConfigurer

java.lang.Object
org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer.NoOpHttpServerStubConfigurer
All Implemented Interfaces:
HttpServerStubConfigurer
Enclosing interface:
HttpServerStubConfigurer<T>

public static class HttpServerStubConfigurer.NoOpHttpServerStubConfigurer extends Object implements HttpServerStubConfigurer
Implementation that does nothing.
  • Field Details

  • Constructor Details

    • NoOpHttpServerStubConfigurer

      public NoOpHttpServerStubConfigurer()
  • 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
      Parameters:
      httpStubConfiguration - - HTTP server stub implementation
      Returns:
      true when this configurer can be applied for this object