OSDN Git Service

2003-12-27 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / net / protocol / http / Connection.java
index 632a20a..677ba7f 100644 (file)
@@ -122,22 +122,6 @@ public final class Connection extends HttpURLConnection
     doOutput = false;
   }
 
-  public void setRequestProperty(String key, String value)
-  {
-    if (connected)
-      throw new IllegalAccessError("Connection already established.");
-
-    requestProperties.put(key, value);
-  }
-
-  public String getRequestProperty(String key)
-  {
-    if (connected)
-      throw new IllegalAccessError("Connection already established.");
-
-    return (String) requestProperties.get(key);
-  }
-
   /**
    * Connects to the remote host, sends the request, and parses the reply
    * code and header information returned