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 Modifier and Type Field Description static HttpServerStubConfigurerINSTANCE
-
Constructor Summary
Constructors Constructor Description NoOpHttpServerStubConfigurer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAccepted(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, wait
-
Methods inherited from interface org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer
configure
-
-
-
-
Field Detail
-
INSTANCE
public static HttpServerStubConfigurer INSTANCE
-
-
Method Detail
-
isAccepted
public boolean isAccepted(Object httpStubConfiguration)
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
-
-