Interface HttpServerStubConfigurer<T>

    • Method Detail

      • isAccepted

        boolean isAccepted​(Object httpStubConfiguration)
        Ensures that the HTTP server stub implementation configuration type is accepted.
        Parameters:
        httpStubConfiguration - - HTTP server stub implementation
        Returns:
        true when this configurer can be applied for this object
      • configure

        default T configure​(T httpStubConfiguration,
                            HttpServerStubConfiguration httpServerStubConfiguration)
        Performs additional configuration of the HTTP Server Stub.
        Parameters:
        httpStubConfiguration - - stub implementation to configure
        httpServerStubConfiguration - - Spring Cloud Contract stub configuration
        Returns:
        the modified stub configuration