public interface HttpConnectionFactory
HttpURLConnection instances.| Modifier and Type | Method and Description |
|---|---|
HttpURLConnection |
openConnection(String url)
Opens a new connection.
|
HttpURLConnection openConnection(String url) throws MalformedURLException, IOException
url - URL to which to open connection via HTTP/HTTPS.MalformedURLException - if URL is not correctIOException - if any other error occurs (like no
route to host)Copyright © 2015. All rights reserved.