会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
haohao1234
博客园
首页
新随笔
联系
订阅
管理
2020年4月9日
SpringCloud(2) 负载均衡器Ribbion, 远程调用Feign
摘要: 实现远程调用的方法,以前用httpclient,现在用restTemplate 1. 第一种方式RestTemplate RestTemplate t = new RestTemplate(); String resp = t.getForObject("http://localhost:8081/
阅读全文
posted @ 2020-04-09 22:35 haohao1234
阅读(445)
评论(0)
推荐(0)
编辑
公告