public interface HttpUrlConnectionFactory
| Modifier and Type | Method and Description |
|---|---|
java.net.HttpURLConnection |
httpUrlConnection(java.net.URI uri)
Returns an
HttpURLConnection to the given Uri. |
java.net.HttpURLConnection httpUrlConnection(java.net.URI uri)
throws java.lang.IllegalArgumentException,
java.io.IOException
HttpURLConnection to the given Uri.uri - The uri to connect to. This must be an absolute URL.HttpURLConnection.java.lang.IllegalArgumentException - if the given URI was not a valid absolute URL.java.io.IOException