protected java.net.URLConnection | openConnection(java.net.URL u, java.net.Proxy proxy)Returns a connection, which is established via the proxy ,
to the HTTP server specified by this URL . If the
proxy is DIRECT type, the connection is made in normal
way.
if (null == u || null == proxy) {
throw new IllegalArgumentException(Msg.getString("K034b")); //$NON-NLS-1$
}
return new HttpURLConnection(u, getDefaultPort(), proxy);
|