| |
|
| java.lang.Object org.apache.cxf.transport.https.HttpsURLConnectionFactory
HttpsURLConnectionFactory | final public class HttpsURLConnectionFactory implements HttpURLConnectionFactory(Code) | | This HttpsURLConnectionFactory implements the HttpURLConnectionFactory
for using the given SSL Policy to configure TLS connections for "https:"
URLs.
|
Constructor Summary | |
public | HttpsURLConnectionFactory(TLSClientParameters params) This constructor initialized the factory with the configured TLS
Client Parameters for the HTTPConduit for which this factory is used.
Parameters: params - The TLS Client Parameters. |
HTTPS_URL_PROTOCOL_ID | final public static String HTTPS_URL_PROTOCOL_ID(Code) | | This constant holds the URL Protocol Identifier for HTTPS
|
conduit | HTTPConduit conduit(Code) | | This field holds the conduit to which this connection factory
is a slave.
|
tlsClientParameters | TLSClientParameters tlsClientParameters(Code) | | This field contains the TLS configuration for the URLs created by
this factory.
|
HttpsURLConnectionFactory | public HttpsURLConnectionFactory(TLSClientParameters params)(Code) | | This constructor initialized the factory with the configured TLS
Client Parameters for the HTTPConduit for which this factory is used.
Parameters: params - The TLS Client Parameters. This parameter is guaranteed to be non-null. |
createConnection | public HttpURLConnection createConnection(Proxy proxy, URL url) throws IOException(Code) | | Create a HttpURLConnection, proxified if neccessary.
Parameters: proxy - This parameter is non-null if connection should be proxied. Parameters: url - The target URL. This parameter must be an https url. The HttpsURLConnection for the given URL. throws: IOException - This exception is thrown if the "url" is not "https" or other IOExceptionis thrown. |
getConnectionInfo | public HttpURLConnectionInfo getConnectionInfo(HttpURLConnection connection) throws IOException(Code) | | This operation returns an HttpsURLConnectionInfo for the
given HttpsURLConnection.
Parameters: connection - The HttpsURLConnection The HttpsURLConnectionInfo object for the given HttpsURLConnection. throws: IOException - Normal IO Exceptions. throws: ClassCastException - If "connection" is not an HttpsURLConnection. |
|
|
|