AccessController.doPrivileged(this.new GetHTTPPropertiesAction());
proxyHostname = SystemProperties.getProperty("http.proxyHost"); if (proxyHostname != null && proxyHostname.length() > 0) { String port = SystemProperties.getProperty("http.proxyPort"); if (port != null && port.length() > 0) { proxyPort = Integer.parseInt(port); } else { proxyHostname = null; proxyPort = -1; } } agent = SystemProperties.getProperty("http.agent"); String ka = SystemProperties.getProperty("http.keepAlive"); keepAlive = !(ka != null && "false".equals(ka));
  public HTTPURLConnection(URL url)    throws IOException  {    super(url);    requestHeaders = new Headers();    AccessController.doPrivileged(this.new GetHTTPPropertiesAction());  }