连接和连接请求超时
Connection and connection request timeout
35
HttpClient has a way to set connection and socket timeout (setConnectionTimeout() and setTimeout()) according to the HttpClient javadocs.
Connection timeout is the timeout until a connection with the server is established.
Socket timeout is the timeout to receive data (socket timeout).
HttpClient有一种根据HttpClient javadocs设置连接和套接字超时(setConnectionTimeout()和)的方法。setTimeout()
Connection timeout是与服务器建立连接之前的超时时间。
Socket timeout是接收数据的超时时间(套接字超时)。
摘抄自网络,便于检索查找。

浙公网安备 33010602011771号