我想知道在通过Spring rest Template创建新连接之前,HttpConnection在不活动时保持活动多长时间.我查看了默认的连接超时和读取超时参数,但我相信这些是在由于某些故障等原因未建立连接时在连接超时的上下文中使用的.
我正在寻找的是,如果没有活动(或)没有活动,连接保持多长时间,以及如何通过Spring Rest Template(或)底层机制来配置它.
java spring httpurlconnection resttemplate
httpurlconnection ×1
java ×1
resttemplate ×1
spring ×1