T - type of the stub configurationpublic interface HttpServerStubConfigurer<T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
HttpServerStubConfigurer.NoOpHttpServerStubConfigurer
Implementation that does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
default T |
configure(T httpStubConfiguration,
HttpServerStubConfiguration httpServerStubConfiguration)
Performs additional configuration of the HTTP Server Stub.
|
boolean |
isAccepted(Object httpStubConfiguration)
Ensures that the HTTP server stub implementation configuration type is accepted.
|
boolean isAccepted(Object httpStubConfiguration)
httpStubConfiguration - - HTTP server stub implementationtrue when this configurer can be applied for this objectdefault T configure(T httpStubConfiguration, HttpServerStubConfiguration httpServerStubConfiguration)
httpStubConfiguration - - stub implementation to configurehttpServerStubConfiguration - - Spring Cloud Contract stub configurationCopyright © 2016–2021 Spring. All rights reserved.