Class HttpServerStubConfiguration

java.lang.Object
org.springframework.cloud.contract.stubrunner.HttpServerStubConfiguration

public final class HttpServerStubConfiguration extends Object
Configuration class for an HttpServerStub.
Since:
2.1.0
Author:
Marcin Grzejszczak
  • Field Details

    • configurer

      public final HttpServerStubConfigurer configurer
      Allows to perform additional configuration of the HTTP Server stub.
    • stubRunnerOptions

      public final StubRunnerOptions stubRunnerOptions
      Options of Stub Runner itself.
    • stubConfiguration

      public final StubConfiguration stubConfiguration
      Configuration of a particular stub.
    • port

      public final Integer port
      Port at which the stub will be started.
    • randomPort

      public boolean randomPort
      Is port a random one or was it fixed.
  • Constructor Details

  • Method Details

    • isRandomPort

      public boolean isRandomPort()
    • toColonSeparatedDependencyNotation

      public String toColonSeparatedDependencyNotation()