Spring-cloud Feign 的深入理解
读取注解信息:EnableFeignClients-->FeignClientsRegistrar-->FeignClientFactoryBean在FeignClientsRegistrar中:查看FeignClientFactoryBean:在FeignClientsConfiguration配置了Feign.Builder,prototype类型:Feign的Builder.build返回了一个ReflectiveFeign:在调用Feign.Builder的target的时候,调用了ReflectiveFeign.newInstance:生成Feign代理对象的基本流程图:当调用接口方
用户评论