BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.net.http
Class HttpsURLConnection

java.lang.Object
  |
  +--java.net.URLConnection
        |
        +--java.net.HttpURLConnection
              |
              +--weblogic.net.http.HttpURLConnection
                    |
                    +--weblogic.net.http.HttpsURLConnection
Direct Known Subclasses:
SOAPHttpsURLConnection

public class HttpsURLConnection
extends HttpURLConnection

A class to represent an HTTPS connection to a remote object.

Author:
Copyright (c) 1997-1998 by WebLogic, Inc. All Rights Reserved., Copyright (c) 1999-2001 by BEA WebXpress. All Rights Reserved.
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Fields inherited from class weblogic.net.http.HttpURLConnection
clenOS, debug, http, inputStream, poster, ps, requests, responses, setRequests, timeout, 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 u)
           
 
Method Summary
 void connect()
          Make SSL connetion to URL which received in constructor.
protected  weblogic.net.http.HttpClient getHttpClient()
           
protected  java.lang.String getProtocol()
           
 void setSSLClientCertificate(java.io.InputStream[] certs)
          Load local identity key and certs for client.
 void setSSLClientInfo(weblogic.security.SSL.SSLClientInfo sslci)
           
 
Methods inherited from class weblogic.net.http.HttpURLConnection
doSetRequests, followRedirect, getAuthInfo, getErrorStream, getHeaderField, getHeaderField, getHeaderFieldKey, getInputStream, getOutputStream, getProxyAuthString, getRequestProperty, getResponseCode, getTimeout, setRequestProperty, setTimeout, usingProxy, writeRequests
 
Methods inherited from class java.net.HttpURLConnection
getFollowRedirects, getHeaderFieldDate, getInstanceFollowRedirects, getPermission, getRequestMethod, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpsURLConnection

public HttpsURLConnection(java.net.URL u)
Method Detail

setSSLClientCertificate

public void setSSLClientCertificate(java.io.InputStream[] certs)
Load local identity key and certs for client.

connect

public void connect()
             throws java.io.IOException
Make SSL connetion to URL which received in constructor.

Overrides:
connect in class HttpURLConnection

getProtocol

protected java.lang.String getProtocol()

Overrides:
getProtocol in class HttpURLConnection

getHttpClient

protected weblogic.net.http.HttpClient getHttpClient()
                            throws java.io.IOException

Overrides:
getHttpClient in class HttpURLConnection

setSSLClientInfo

public void setSSLClientInfo(weblogic.security.SSL.SSLClientInfo sslci)

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.