| com.sun.portal.rproxy.https.HttpsURLConnection
HttpsURLConnection | public class HttpsURLConnection extends HttpURLConnection (Code) | | HTTPS URL connection support. These URL connection classes are not always
made public, but this one needs to be public in order to expose SSL-related
information which must needs to be presented to users.
|
Method Summary | |
public void | connect() Implements the HTTP protocol handler's "connect" method, establishing an
SSL connection to the server as necessary. | public String | getCipherSuite() Returns the cipher suite in use on this connection. | protected HttpClient | getNewClient(URL url) Returns a connection to an HTTPS server. | protected HttpClient | getProxiedClient(URL url, String proxyHost, int proxyPort) We don't support HTTPS through proxies, since that compromises the
expectation that SSL traffic is normally confidential. | public X509Certificate[] | getServerCertificateChain() Returns the server's X.509 certificate chain, or null if the server did
not authenticate. |
connect | public void connect() throws IOException(Code) | | Implements the HTTP protocol handler's "connect" method, establishing an
SSL connection to the server as necessary.
|
getCipherSuite | public String getCipherSuite()(Code) | | Returns the cipher suite in use on this connection.
|
getNewClient | protected HttpClient getNewClient(URL url) throws IOException(Code) | | Returns a connection to an HTTPS server.
Parameters: URL - identifies the HTTPS server to connect with. |
getProxiedClient | protected HttpClient getProxiedClient(URL url, String proxyHost, int proxyPort) throws IOException(Code) | | We don't support HTTPS through proxies, since that compromises the
expectation that SSL traffic is normally confidential.
Parameters: url - ignored Parameters: proxyHost - ignored Parameters: proxyPort - ignored throws: IOException - always |
getServerCertificateChain | public X509Certificate[] getServerCertificateChain()(Code) | | Returns the server's X.509 certificate chain, or null if the server did
not authenticate.
|
|
|