Code example for HttpsURLConnection

Methods: setHostnameVerifier

0
		HttpsURLConnection.setDefaultSSLSocketFactory(sf);
	} 
	 
	public void setHostnameVerifier(HostnameVerifier v)
	{ 
		realConnection.setHostnameVerifier(v);
	} 
	 
	public void setSSLSocketFactory(SSLSocketFactory sf)
	{ 
		realConnection.setSSLSocketFactory(sf);
	} 
	 
	//********************************************************** 
	 
	public void addRequestProperty(String field, String newValue)
	{ 
		realConnection.addRequestProperty(field, newValue);
	} 
	 
	public void connect() throws java.io.IOException