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. |
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 proxifiedurl - the target URL
- Returns:
- an appropriate URLConnection
- Throws:
java.io.IOException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.