|
||||||||||
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 | |
---|---|
java.net.HttpURLConnection |
createConnection(java.net.Proxy proxy,
java.net.URL url)
Create an HttpURLConnection, proxified if neccessary. |
HttpURLConnectionInfo |
getConnectionInfo(java.net.HttpURLConnection connnection)
This method returns Connection Info objects for the particular connection. |
Method Detail |
---|
java.net.HttpURLConnection createConnection(java.net.Proxy proxy, java.net.URL url) throws java.io.IOException
proxy
- The proxy. May be null if connection is not to be proxied.url
- The target URL
java.io.IOException
HttpURLConnectionInfo getConnectionInfo(java.net.HttpURLConnection connnection) throws java.io.IOException
con
- The connection that is the subject of the information object.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |