Code example for HttpsURLConnection

Methods: setConnectTimeout

0
		realConnection.setAllowUserInteraction(newValue);
	} 
	 
	public void setConnectTimeout(int timeoutMillis)
	{ 
		realConnection.setConnectTimeout(timeoutMillis);
	} 
	 
	public synchronized static void setContentHandlerFactory(ContentHandlerFactory contentFactory)
	{ 
		HttpURLConnection.setContentHandlerFactory(contentFactory);
	} 
	 
	public static void setDefaultAllowUserInteraction(boolean allows)
	{ 
		HttpURLConnection.setDefaultAllowUserInteraction(allows);
	} 
	 
	public static void setDefaultRequestProperty(String field, String value)
	{ 
		HttpURLConnection.setDefaultRequestProperty(field, value);