public class MyHystrixTargeter extends Object implements Targeter
为@FeignClient注解中没有添加fallback和fallbackFactory属性的API, 添加默认的 MyFallbackFactory
MyHystrixTargeter()
<T> T
target(org.springframework.cloud.openfeign.FeignClientFactoryBean factory, feign.Feign.Builder feign, org.springframework.cloud.openfeign.FeignContext context, feign.Target.HardCodedTarget<T> target)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MyHystrixTargeter()
public <T> T target(org.springframework.cloud.openfeign.FeignClientFactoryBean factory, feign.Feign.Builder feign, org.springframework.cloud.openfeign.FeignContext context, feign.Target.HardCodedTarget<T> target)
Targeter
target
Copyright © 2020. All rights reserved.