Class FeignCachingInvocationHandlerFactory

java.lang.Object
org.springframework.cloud.openfeign.FeignCachingInvocationHandlerFactory
All Implemented Interfaces:
feign.InvocationHandlerFactory

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

    Nested classes/interfaces inherited from interface feign.InvocationHandlerFactory

    feign.InvocationHandlerFactory.Default, feign.InvocationHandlerFactory.MethodHandler
  • Constructor Summary

    Constructors
    Constructor
    Description
    FeignCachingInvocationHandlerFactory(feign.InvocationHandlerFactory delegateFactory, org.springframework.cache.interceptor.CacheInterceptor cacheInterceptor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(feign.Target target, Map<Method,feign.InvocationHandlerFactory.MethodHandler> dispatch)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FeignCachingInvocationHandlerFactory

      public FeignCachingInvocationHandlerFactory(feign.InvocationHandlerFactory delegateFactory, org.springframework.cache.interceptor.CacheInterceptor cacheInterceptor)
  • Method Details

    • create

      public InvocationHandler create(feign.Target target, Map<Method,feign.InvocationHandlerFactory.MethodHandler> dispatch)
      Specified by:
      create in interface feign.InvocationHandlerFactory