【发布时间】:2018-03-22 14:42:35
【问题描述】:
我已经编写了一个简单的应用程序,它使用 Spring RestTemplate 到另一个 REST API。 示例:
SomeClassresponse = restTemplate.postForObject("https://rest-endpoint.com", body, SomeClass.class);
“https://rest-endpoint.com”正在使用 SSL。但是我的应用程序不是,但是根据spring文档RestTemplate“用于同步客户端HTTP访问的Spring中心类。”。所以我正在使用客户端,据我了解,我不需要使用 SSL 来保护数据免受嗅探数据包的影响?还是我错了?
【问题讨论】:
标签: spring ssl https resttemplate