|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpURLConnectionFactory
The primary purpose for this interface is to generate HttpURLConnections and retrieve information about the connections. This interface is also meant to be used as a lower denominator for HttpURLConnections and HttpsURLConnections.
| Method Summary | |
|---|---|
HttpURLConnection |
createConnection(Proxy proxy,
URL url)
Create an HttpURLConnection, proxified if neccessary. |
HttpURLConnectionInfo |
getConnectionInfo(HttpURLConnection connnection)
This method returns Connection Info objects for the particular connection. |
String |
getProtocol()
|
| Method Detail |
|---|
HttpURLConnection createConnection(Proxy proxy,
URL url)
throws IOException
proxy - The proxy. May be null if connection is not to be proxied.url - The target URL
IOException
HttpURLConnectionInfo getConnectionInfo(HttpURLConnection connnection)
throws IOException
con - The connection that is the subject of the information object.
IOExceptionString getProtocol()
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||