read Timeout
Sets the default read timeout for new connections. A value of Duration.INFINITE means no timeout, otherwise values must be between 1 and Integer.MAX_VALUE when converted to milliseconds or an exception will be thrown. The read timeout is applied to both the TCP socket and for individual read IO operations. The default value is 60 seconds.
Parameters
timeout
the read timeout
Throws
if the timeout is invalid