Jersey 2.22:客户端的默认连接超时是多少?

Jersey 2.22: What is the default connect timeout for Client?

我试过了:

client.getConfiguration().getProperty(ClientProperties.CONNECT_TIMEOUT)

但它只返回了一个 null

我想知道默认超时时间是多少?

根据 Javadoc:

The default value is infinity (0).