Feign的简单应用总结

(1)微服务客户端调用服务提供者提供接口实现方式: JDK原生的URLConnection Apache的Http Client Netty的异步HTTP Client Spring的RestTemplate Feign 其中,用起来最方便、最优雅的还是要属Feign了。 (2)Feign实现步骤: a)在pom.xml引入jar包: <!--feign -->       <dependency
相关文章
相关标签/搜索