|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.URLConnection
java.net.HttpURLConnection
weblogic.net.http.HttpURLConnection
weblogic.net.http.HttpsURLConnection
public class HttpsURLConnection
A class to represent an HTTPS connection to a remote object.
Field Summary |
---|
Fields inherited from class weblogic.net.http.HttpURLConnection |
---|
defaultConnectTimeout, rememberedException |
Fields inherited from class java.net.URLConnection |
---|
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
Constructor Summary | |
---|---|
HttpsURLConnection(URL u)
|
|
HttpsURLConnection(URL u,
Proxy p)
|
Method Summary | |
---|---|
void |
connect()
Make SSL connection to URL which was received in constructor. |
void |
disconnect()
Disconnect from the server. |
String |
getCipherSuite()
Returns the cipher suite that was negotiatd for the SSL connection. |
static HostnameVerifierJSSE |
getDefaultHostnameVerifierJSSE()
Deprecated. WLS 9.0 (04/2003) |
static SSLSocketFactory |
getDefaultSSLSocketFactory()
Gets the default static SSL socket factory to be used when creating sockets for secure https URL connections. |
HostnameVerifier |
getHostnameVerifier()
Gets the HostnameVerifier. |
HostnameVerifierJSSE |
getHostnameVerifierJSSE()
Deprecated. WLS 9.0 (04/2003) Replaced by getHostnameVerifier() |
protected weblogic.net.http.HttpClient |
getHttpClient()
|
protected String |
getProtocol()
|
X509Certificate[] |
getServerCertificateChain()
Returns the certificate chain that was received from the server during the SSL handshake. |
SSLSession |
getSSLSession()
Returns the SSL session for the connection. |
SSLSocketFactory |
getSSLSocketFactory()
Gets the SSL socket factory to be used when creating sockets for secure https URL connections. |
TrustManager |
getTrustManager()
Gets the TrustManager. |
void |
loadLocalIdentity(Certificate[] certs,
PrivateKey privateKey)
Load local identity cert chain and private key for client |
void |
loadLocalIdentity(InputStream[] stream)
Load local identity key and certs for client. |
void |
loadLocalIdentity(InputStream certStream,
InputStream keyStream,
char[] password)
Load local identity cert chain and private key for client |
void |
setHostnameVerifier(HostnameVerifier hv)
Sets the HostnameVerifier. |
void |
setHostnameVerifierJSSE(HostnameVerifierJSSE hv)
Deprecated. WLS 9.0 (04/2003) Replaced by setHostnameVerifier(HostnameVerifier) |
void |
setSSLClientCertificate(InputStream[] certs)
Load local identity key and certs for client. |
void |
setSSLSocketFactory(SSLSocketFactory sslSF)
Sets the SSL socket factory to be used when creating sockets for secure https URL connections. |
void |
setTrustManager(TrustManager tm)
Sets the TrustManager. |
Methods inherited from class java.net.HttpURLConnection |
---|
getFollowRedirects, getHeaderFieldDate, getInstanceFollowRedirects, getPermission, getRequestMethod, getResponseMessage, setFollowRedirects, setInstanceFollowRedirects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpsURLConnection(URL u)
public HttpsURLConnection(URL u, Proxy p)
Method Detail |
---|
public void loadLocalIdentity(InputStream[] stream)
public void loadLocalIdentity(InputStream certStream, InputStream keyStream, char[] password)
public void loadLocalIdentity(Certificate[] certs, PrivateKey privateKey)
public void setSSLClientCertificate(InputStream[] certs)
public void setTrustManager(TrustManager tm)
public TrustManager getTrustManager()
public void setHostnameVerifier(HostnameVerifier hv)
public HostnameVerifier getHostnameVerifier()
public void setHostnameVerifierJSSE(HostnameVerifierJSSE hv)
public HostnameVerifierJSSE getHostnameVerifierJSSE()
public static HostnameVerifierJSSE getDefaultHostnameVerifierJSSE()
public void setSSLSocketFactory(SSLSocketFactory sslSF)
public SSLSocketFactory getSSLSocketFactory()
public static SSLSocketFactory getDefaultSSLSocketFactory()
public String getCipherSuite()
public X509Certificate[] getServerCertificateChain() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException
public SSLSession getSSLSession()
public void connect() throws IOException
connect
in class HttpURLConnection
IOException
public void disconnect()
HttpURLConnection
disconnect
in class HttpURLConnection
protected String getProtocol()
getProtocol
in class HttpURLConnection
protected weblogic.net.http.HttpClient getHttpClient() throws IOException
getHttpClient
in class HttpURLConnection
IOException
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |