java.lang.Object
cn.herodotus.engine.facility.alibaba.autoconfigure.sentinel.enhance.HerodotusFeignFallback<T>
All Implemented Interfaces:
org.springframework.cglib.proxy.Callback, org.springframework.cglib.proxy.MethodInterceptor

public class HerodotusFeignFallback<T> extends Object implements org.springframework.cglib.proxy.MethodInterceptor

Description: 统一 fallback 实体

Author:
: gengwei.zheng
Date:
: 2022/5/30 15:12
  • Constructor Details

    • HerodotusFeignFallback

      public HerodotusFeignFallback(Class<T> targetType, String targetName, Throwable cause)
  • Method Details

    • intercept

      public Object intercept(Object o, Method method, Object[] objects, org.springframework.cglib.proxy.MethodProxy methodProxy) throws Throwable
      Specified by:
      intercept in interface org.springframework.cglib.proxy.MethodInterceptor
      Throws:
      Throwable
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object