public static interface HttpConnection.HttpUrlConnectionFactory
| Modifier and Type | Method and Description |
|---|---|
java.net.HttpURLConnection |
openConnection(java.net.URL url)
Called by HttpConnection to open URLs, can be implemented to provide customization.
|
void |
setProxy(java.net.URL proxyUrl)
Set a proxy server address.
|
java.net.HttpURLConnection openConnection(java.net.URL url)
throws java.io.IOException
url - the address of the URL to openjava.io.IOException - if there is an issue communicating with the servervoid setProxy(java.net.URL proxyUrl)
HttpConnection.execute() to have any effect.proxyUrl - the URL of the HTTP proxy to use for this connection