org.apache.cxf.transport.http
Interface URLConnectionFactory

All Known Implementing Classes:
HttpsURLConnectionFactory

public interface URLConnectionFactory

Encapsulates creation of URLConnection.


Method Summary
 java.net.URLConnection createConnection(java.net.Proxy proxy, java.net.URL url)
          Create a URLConnection, proxified if neccessary.
 

Method Detail

createConnection

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

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


Copyright © 2006 Apache Software Foundation. All Rights Reserved.