FileDocCategorySizeDatePackage
Handler.javaAPI DocAndroid 1.5 API1785Wed May 06 22:41:04 BST 2009org.apache.harmony.luni.internal.net.www.protocol.https

Handler

public class Handler extends URLStreamHandler
Handler for HttpsURLConnection implementation.

Fields Summary
Constructors Summary
Methods Summary
protected intgetDefaultPort()

        return 443;
    
protected java.net.URLConnectionopenConnection(java.net.URL url)

        return new HttpsURLConnection(url, getDefaultPort());
    
protected java.net.URLConnectionopenConnection(java.net.URL url, java.net.Proxy proxy)

        if ((url == null) || (proxy == null)) {
            // K034b=url and proxy can not be null
            throw new IllegalArgumentException(Msg.getString("K034b")); //$NON-NLS-1$
        }
        return new HttpsURLConnection(url, getDefaultPort(), proxy);