Sets the default connect timeout for new connections. A value of 0 means no timeout. @param timeout the number of time units for the default timeout @param unit the unit of time
(long timeout, TimeUnit unit)
| 284 | * @param unit the unit of time |
| 285 | */ |
| 286 | public void setConnectTimeout(long timeout, TimeUnit unit) { |
| 287 | this.httpClient.setConnectTimeout(timeout, unit); |
| 288 | } |
| 289 | |
| 290 | /** |
| 291 | * Sets the default read timeout for new connections. A value of 0 means no timeout. |
no outgoing calls
no test coverage detected