APIdia Launch Partner
Top Description Fields Constructors Methods
sun.net.www.protocol.https

public Class DelegateHttpsURLConnection

extends AbstractDelegateHttpsURLConnection
Class Inheritance
Imports
java.net.URL, .Proxy, java.io.IOException

This class was introduced to provide an additional level of abstraction between javax.net.ssl.HttpURLConnection and com.sun.net.ssl.HttpURLConnection objects.

javax.net.ssl.HttpURLConnection is used in the new sun.net version of protocol implementation (this one) com.sun.net.ssl.HttpURLConnection is used in the com.sun version.

Field Summary

Modifier and TypeField and Description
public HttpsURLConnection

Constructor Summary

AccessConstructor and Description
pack-priv
DelegateHttpsURLConnection(URL url, Handler handler, HttpsURLConnection httpsURLConnection)

pack-priv
DelegateHttpsURLConnection(URL url, Proxy p, Handler handler, HttpsURLConnection httpsURLConnection)

Method Summary

Modifier and TypeMethod and Description
protected HostnameVerifier
protected SSLSocketFactory
Inherited from sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection:
connectdisconnectgetCipherSuitegetHttpCallerInfogetHttpCallerInfogetLocalCertificatesgetLocalPrincipalgetNewHttpClientgetNewHttpClientgetPeerPrincipalgetServerCertificatesgetSSLSessionisConnectednoResponseBodyproxiedConnectsetConnectedsetNewClientsetNewClientsetProxiedClientsetProxiedClient

Field Detail

httpsURLConnectionback to summary
public HttpsURLConnection httpsURLConnection

Constructor Detail

DelegateHttpsURLConnectionback to summary
pack-priv DelegateHttpsURLConnection(URL url, Handler handler, HttpsURLConnection httpsURLConnection) throws IOException
DelegateHttpsURLConnectionback to summary
pack-priv DelegateHttpsURLConnection(URL url, Proxy p, Handler handler, HttpsURLConnection httpsURLConnection) throws IOException

Method Detail

getHostnameVerifierback to summary
protected HostnameVerifier getHostnameVerifier()

Implements abstract sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getHostnameVerifier.

getSSLSocketFactoryback to summary
protected SSLSocketFactory getSSLSocketFactory()

Implements abstract sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getSSLSocketFactory.