public void setReadTimeout(int timeout) {
		Assert.isTrue(timeout >= 0, "Timeout must be a non-negative value");
		getHttpClient().getParams().setIntParameter(CoreConnectionPNames.SO_TIMEOUT, timeout);
	}
public void setReadTimeout ( int timeout ) { Assert . isTrue ( timeout >= 0 , "Timeout must be a non-negative value" ) ; getHttpClient ( ) . getParams ( ) . setIntParameter ( CoreConnectionPNames . SO_TIMEOUT , timeout ) ; }
Set the socket read timeout for the underlying HttpClient. A timeout value of 0 specifies an infinite timeout.
@param timeout the timeout value in milliseconds