Deprecate/rename method
@@ -33,11 +33,17 @@ public URLConnection openConnection(URL url, Proxy proxy) throws IOException
return configureConnection(url, url.openConnection(proxy));
}
+ /** @deprecated Use {@link #openStream(URL)} instead */
public InputStream openInputStream(URL url) throws IOException
{
return openConnection(url).getInputStream();
}
+ public InputStream openStream(URL url) throws IOException
+ {
+ return openConnection(url).getInputStream();
+ }
+
protected URLConnection configureConnection(URL url, URLConnection connection)
{
if (!(connection instanceof HttpsURLConnection))
