com.iplanet.trustbase.xurl
Class HttpsURLConnection

java.lang.Object
  |
  +--java.net.URLConnection
        |
        +--java.net.HttpURLConnection
              |
              +--sun.net.www.protocol.http.HttpURLConnection
                    |
                    +--com.iplanet.trustbase.xurl.HttpsURLConnection

public class HttpsURLConnection
extends sun.net.www.protocol.http.HttpURLConnection


Fields inherited from class sun.net.www.protocol.http.HttpURLConnection
handler, http, pe, ps, userAgent
 
Fields inherited from class java.net.HttpURLConnection
HTTP_ACCEPTED, HTTP_BAD_GATEWAY, HTTP_BAD_METHOD, HTTP_BAD_REQUEST, HTTP_CLIENT_TIMEOUT, HTTP_CONFLICT, HTTP_CREATED, HTTP_ENTITY_TOO_LARGE, HTTP_FORBIDDEN, HTTP_GATEWAY_TIMEOUT, HTTP_GONE, HTTP_INTERNAL_ERROR, HTTP_LENGTH_REQUIRED, HTTP_MOVED_PERM, HTTP_MOVED_TEMP, HTTP_MULT_CHOICE, HTTP_NO_CONTENT, HTTP_NOT_ACCEPTABLE, HTTP_NOT_AUTHORITATIVE, HTTP_NOT_FOUND, HTTP_NOT_IMPLEMENTED, HTTP_NOT_MODIFIED, HTTP_OK, HTTP_PARTIAL, HTTP_PAYMENT_REQUIRED, HTTP_PRECON_FAILED, HTTP_PROXY_AUTH, HTTP_REQ_TOO_LONG, HTTP_RESET, HTTP_SEE_OTHER, HTTP_SERVER_ERROR, HTTP_UNAUTHORIZED, HTTP_UNAVAILABLE, HTTP_UNSUPPORTED_TYPE, HTTP_USE_PROXY, HTTP_VERSION, instanceFollowRedirects, method, responseCode, responseMessage
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
HttpsURLConnection(java.net.URL url, Handler handler)
           
 
Method Summary
 void connect()
           
protected  sun.net.www.http.HttpClient getNewClient(java.net.URL url)
          Create a new HttpClient object, bypassing the cache of HTTP client objects/connections.
protected  sun.net.www.http.HttpClient getProxiedClient(java.net.URL url, java.lang.String proxyHost, int proxyPort)
          Create a new HttpClient object, set up so that it uses per-instance proxying to the given HTTP proxy.
 
Methods inherited from class sun.net.www.protocol.http.HttpURLConnection
disconnect, finalize, getHeaderField, getHeaderField, getHeaderFieldKey, getInputStream, getOutputStream, getRequestProperty, openConnectionCheckRedirects, setDefaultAuthenticator, setRequestProperty, usingProxy
 
Methods inherited from class java.net.HttpURLConnection
getErrorStream, getFollowRedirects, getHeaderFieldDate, getInstanceFollowRedirects, getPermission, getRequestMethod, getResponseCode, getResponseMessage, setFollowRedirects, setInstanceFollowRedirects, setRequestMethod
 
Methods inherited from class java.net.URLConnection
getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderFieldInt, getIfModifiedSince, getLastModified, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setUseCaches, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpsURLConnection

public HttpsURLConnection(java.net.URL url,
                          Handler handler)
                   throws java.io.IOException
Method Detail

getNewClient

protected sun.net.www.http.HttpClient getNewClient(java.net.URL url)
                                            throws java.io.IOException
Create a new HttpClient object, bypassing the cache of HTTP client objects/connections.
Overrides:
getNewClient in class sun.net.www.protocol.http.HttpURLConnection
Parameters:
url - the URL being accessed

getProxiedClient

protected sun.net.www.http.HttpClient getProxiedClient(java.net.URL url,
                                                       java.lang.String proxyHost,
                                                       int proxyPort)
                                                throws java.io.IOException
Create a new HttpClient object, set up so that it uses per-instance proxying to the given HTTP proxy. This bypasses the cache of HTTP client objects/connections.
Overrides:
getProxiedClient in class sun.net.www.protocol.http.HttpURLConnection
Parameters:
url - the URL being accessed
proxyHost - the proxy host to use
proxyPort - the proxy port to use

connect

public void connect()
             throws java.io.IOException
Overrides:
connect in class sun.net.www.protocol.http.HttpURLConnection