【发布时间】:2023-07-09 02:21:02
【问题描述】:
我需要使用SimpleClientHttpRequestFactory 设置代理,并且需要使用HttpComponentsClientHttpRequestFactory 为Web 服务设置基本的autenticathion。
我正在使用 Spring restTemplate 服务,我需要混合 botch factorys。
我该怎么做?
谢谢。
【问题讨论】:
标签: spring proxy basic-authentication resttemplate