code: private void setTimeout(HttpURLConnection httpUrlConnection) {
  		String connTimeout = Config.getProperty(Config.TIMEOUT_CONNECTION);
  		if (StringUtils.hasText(connTimeout)) {
  			httpUrlConnection.setReadTimeout(new Integer(connTimeout.trim()));			
  		}
  		String reqTimeout = Config.getProperty(Config.TIMEOUT_REQUEST);
  		if (StringUtils.hasText(reqTimeout)) {
  			httpUrlConnection.setConnectTimeout(new Integer(reqTimeout.trim()));			
  		}
  	}
docs: Method to set the connection and request timeouts by reading from the configuration file