2021年2月21日

SpringCloud之Feign注解@EnableFeignClients

摘要: 一 @EnableFeignClients @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Documented @Import(FeignClientsRegistrar.class) public @interface 阅读全文

posted @ 2021-02-21 22:13 MaXianZhe 阅读(1160) 评论(0) 推荐(0)

SpringCloud之Feign实现原理

摘要: 一 开启ApacheHttpClient 如果我们使用Apache的 HttpClient作为客户端的话,其实现逻辑就是这样的 @Configuration @ConditionalOnClass({ApacheHttpClient.class})//classpath下必须得有ApacheHttp 阅读全文

posted @ 2021-02-21 18:17 MaXianZhe 阅读(333) 评论(0) 推荐(0)

导航