Class CachingCapability
java.lang.Object
org.springframework.cloud.openfeign.CachingCapability
- All Implemented Interfaces:
feign.Capability
Allows Spring's @Cache* annotations to be declared on the feign client's methods.
- Author:
- Sam Kruglov
-
Constructor Summary
ConstructorDescriptionCachingCapability
(org.springframework.cache.interceptor.CacheInterceptor cacheInterceptor) -
Method Summary
Modifier and TypeMethodDescriptionfeign.InvocationHandlerFactory
enrich
(feign.InvocationHandlerFactory invocationHandlerFactory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface feign.Capability
enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich
-
Constructor Details
-
CachingCapability
public CachingCapability(org.springframework.cache.interceptor.CacheInterceptor cacheInterceptor)
-
-
Method Details
-
enrich
public feign.InvocationHandlerFactory enrich(feign.InvocationHandlerFactory invocationHandlerFactory) - Specified by:
enrich
in interfacefeign.Capability
-