home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / sun / net / www / http / HttpClient$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  735 b   |  26 lines

  1. package sun.net.www.http;
  2.  
  3. import java.security.PrivilegedAction;
  4.  
  5. class HttpClient$1 implements PrivilegedAction {
  6.    // $FF: synthetic field
  7.    private final int[] val$port;
  8.    // $FF: synthetic field
  9.    private final HttpClient this$0;
  10.  
  11.    HttpClient$1(HttpClient var1, int[] var2) {
  12.       this.this$0 = var1;
  13.       this.val$port = var2;
  14.    }
  15.  
  16.    public Object run() {
  17.       if (System.getProperty("http.proxyHost") != null) {
  18.          this.val$port[0] = Integer.getInteger("http.proxyPort", 80);
  19.       } else {
  20.          this.val$port[0] = Integer.getInteger("proxyPort", 80);
  21.       }
  22.  
  23.       return null;
  24.    }
  25. }
  26.