SOAPHttpsURLConnectionpublic class HttpsURLConnection extends HttpURLConnection
fixedContentLengthLong, 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, responseMessagedefaultConnectTimeout, ignoreProxy, ignoreSystemNonProxyHosts, rememberedException| Modifier and Type | Method | Description |
|---|---|---|
void |
connect() |
Make SSL connection to URL which was received in constructor.
|
java.lang.String |
getCipherSuite() |
Returns the cipher suite that was negotiatd for the SSL connection.
|
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.
|
protected weblogic.net.http.HttpClient |
getHttpClient() |
|
protected java.lang.String |
getProtocol() |
|
javax.security.cert.X509Certificate[] |
getServerCertificateChain() |
Deprecated.
As of 12.2.1.4.0, javax.security.cert.X509Certificate is deprecated, use getServerCertificates
|
java.security.cert.Certificate[] |
getServerCertificates() |
Returns the certificate chain that was received
from the server during the SSL handshake.
|
javax.net.ssl.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(java.io.InputStream[] stream) |
Deprecated.
As of 12.2.2.0, use
loadLocalIdentity(Certificate[], PrivateKey) |
void |
loadLocalIdentity(java.io.InputStream certStream,
java.io.InputStream keyStream,
char[] password) |
Deprecated.
As of 12.2.2.0, use
loadLocalIdentity(Certificate[], PrivateKey) |
void |
loadLocalIdentity(java.security.cert.Certificate[] certs,
java.security.PrivateKey privateKey) |
Load local identity cert chain and private key for client
|
void |
setHostnameVerifier(HostnameVerifier hv) |
Sets the HostnameVerifier.
|
void |
setSSLClientCertificate(java.io.InputStream[] certs) |
Deprecated.
As of 12.2.2.0, use
loadLocalIdentity(Certificate[], PrivateKey) |
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.
|
getFollowRedirects, getHeaderFieldDate, getInstanceFollowRedirects, getPermission, getRequestMethod, getResponseMessage, setAuthenticator, setFixedLengthStreamingMode, setFollowRedirects, setInstanceFollowRedirectsaddRequestProperty, disconnect, doSetRequests, followRedirect, getAuthInfo, getConnectTimeout, getErrorStream, getHeaderField, getHeaderField, getHeaderFieldKey, getHeaderFields, getInputStream, getOutputStream, getProxyAuthString, getProxyBasicCredentials, getReadTimeout, getRequestProperties, getRequestProperty, getResponseCode, getServerBasicCredentials, getSocketFactory, getTimeout, setChunkedStreamingMode, setConnectTimeout, setDefaultSocketFactory, setEmptyRequestProperty, setFixedLengthStreamingMode, setIgnoreProxy, setIgnoreSystemNonProxyHosts, setMuxableSocket, setReadTimeout, setRequestMethod, setRequestProperty, setSocketFactory, setTimeout, usingProxy, writeRequestsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderFieldInt, getHeaderFieldLong, getIfModifiedSince, getLastModified, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setUseCaches, toString@Deprecated public void loadLocalIdentity(java.io.InputStream[] stream)
loadLocalIdentity(Certificate[], PrivateKey)@Deprecated
public void loadLocalIdentity(java.io.InputStream certStream,
java.io.InputStream keyStream,
char[] password)
loadLocalIdentity(Certificate[], PrivateKey)public void loadLocalIdentity(java.security.cert.Certificate[] certs,
java.security.PrivateKey privateKey)
@Deprecated public void setSSLClientCertificate(java.io.InputStream[] certs)
loadLocalIdentity(Certificate[], PrivateKey)public void setTrustManager(TrustManager tm)
public TrustManager getTrustManager()
public void setHostnameVerifier(HostnameVerifier hv)
public HostnameVerifier getHostnameVerifier()
public void setSSLSocketFactory(SSLSocketFactory sslSF)
public SSLSocketFactory getSSLSocketFactory()
public static SSLSocketFactory getDefaultSSLSocketFactory()
public java.lang.String getCipherSuite()
@Deprecated
public javax.security.cert.X509Certificate[] getServerCertificateChain()
throws javax.net.ssl.SSLPeerUnverifiedException
javax.net.ssl.SSLPeerUnverifiedExceptionpublic java.security.cert.Certificate[] getServerCertificates()
throws javax.net.ssl.SSLPeerUnverifiedException
javax.net.ssl.SSLPeerUnverifiedExceptionpublic javax.net.ssl.SSLSession getSSLSession()
public void connect()
throws java.io.IOException
connect in class HttpURLConnectionjava.io.IOExceptionprotected java.lang.String getProtocol()
getProtocol in class HttpURLConnectionprotected weblogic.net.http.HttpClient getHttpClient()
throws java.io.IOException
getHttpClient in class HttpURLConnectionjava.io.IOException