Class CachingCapability

java.lang.Object
org.springframework.cloud.openfeign.CachingCapability
All Implemented Interfaces:
feign.Capability

public class CachingCapability extends Object implements feign.Capability
Allows Spring's @Cache* annotations to be declared on the feign client's methods.
Author:
Sam Kruglov
  • Constructor Summary

    Constructors
    Constructor
    Description
    CachingCapability(org.springframework.cache.interceptor.CacheInterceptor cacheInterceptor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    feign.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 interface feign.Capability