RestTemplate
基本介绍
- RestTemplate 是Spring 提供的用于访问Rest 服务的模板类
- RestTemplate 提供了多种便捷访问远程Http 服务的方法
- 老韩说明:小伙伴可以这样理解, 通过RestTemplate, 我们可以发出http 请求(支持Restful 风格), 去调用Controller 提供的API 接口, 就像我们使用浏览器发出http 请求,调用该API 接口一样.
- 使用简单便捷
官网
- RestTemplate 模板 Spring Restresttemplate模板spring rest resttemplate springcloud spring ribbon multivaluemap resttemplate spring resttemplate spring 示例resttemplate spring boot resttemplate spring feign resttemplate restclient特性spring 小结resttemplate spring 文件spring rest docs resttemplate spring https boot