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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer
HttpServerStubConfigurer.NoOpHttpServerStubConfigurer -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAccepted(Object httpStubConfiguration) Ensures that the HTTP server stub implementation configuration type is accepted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer
configure
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
NoOpHttpServerStubConfigurer
public NoOpHttpServerStubConfigurer()
-
-
Method Details
-
isAccepted
Description copied from interface:HttpServerStubConfigurerEnsures that the HTTP server stub implementation configuration type is accepted.- Specified by:
isAcceptedin interfaceHttpServerStubConfigurer- Parameters:
httpStubConfiguration- - HTTP server stub implementation- Returns:
truewhen this configurer can be applied for this object
-