org.apache.cxf.transport.https
Class HttpsURLConnectionFactory

java.lang.Object
  extended by org.apache.cxf.transport.https.HttpsURLConnectionFactory
All Implemented Interfaces:
URLConnectionFactory

public final class HttpsURLConnectionFactory
extends java.lang.Object
implements URLConnectionFactory


Constructor Summary
HttpsURLConnectionFactory(org.apache.cxf.configuration.security.SSLClientPolicy policy)
          Constructor.
 
Method Summary
protected  void addLogHandler(java.util.logging.Handler handler)
           
 java.net.URLConnection createConnection(java.net.Proxy proxy, java.net.URL url)
          Create a URLConnection, proxified if neccessary.
protected  void decorate(javax.net.ssl.HttpsURLConnection secureConnection)
          Decorate connection with applicable SSL settings.
protected  java.lang.String[] getDerivative()
           
protected  java.lang.String[] getUnSupported()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpsURLConnectionFactory

public HttpsURLConnectionFactory(org.apache.cxf.configuration.security.SSLClientPolicy policy)
Constructor.

Parameters:
policy - the applicable SSLClientPolicy (guaranteed non-null)
Method Detail

createConnection

public java.net.URLConnection createConnection(java.net.Proxy proxy,
                                               java.net.URL url)
                                        throws java.io.IOException
Create a URLConnection, proxified if neccessary.

Specified by:
createConnection in interface URLConnectionFactory
Parameters:
proxy - non-null if connection should be proxified
url - the target URL
Returns:
an appropriate URLConnection
Throws:
java.io.IOException

decorate

protected void decorate(javax.net.ssl.HttpsURLConnection secureConnection)
Decorate connection with applicable SSL settings.

Parameters:
secureConnection - the secure connection

addLogHandler

protected void addLogHandler(java.util.logging.Handler handler)

getUnSupported

protected java.lang.String[] getUnSupported()

getDerivative

protected java.lang.String[] getDerivative()


Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.