Class HerodotusFallbackFactory<T>

java.lang.Object
cn.herodotus.engine.facility.alibaba.autoconfigure.sentinel.enhance.HerodotusFallbackFactory<T>
All Implemented Interfaces:
org.springframework.cloud.openfeign.FallbackFactory<T>

public class HerodotusFallbackFactory<T> extends Object implements org.springframework.cloud.openfeign.FallbackFactory<T>

Description: Feign 统一 Fallback 工厂

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

    • HerodotusFallbackFactory

      public HerodotusFallbackFactory(feign.Target<T> target)
  • Method Details

    • create

      public T create(Throwable cause)
      Specified by:
      create in interface org.springframework.cloud.openfeign.FallbackFactory<T>