diff options
author | Michael Koch <konqueror@gmx.de> | 2003-12-27 20:49:12 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-12-27 20:49:12 +0000 |
commit | bb6d84f38e2fa479acc33af09a9125931ba3f72a (patch) | |
tree | 803d1dc66925c731022db2fee6d7ec44723984d9 | |
parent | bf86d71e8a312406735aad4139b5bf7e680b8e83 (diff) | |
download | gcc-bb6d84f38e2fa479acc33af09a9125931ba3f72a.zip gcc-bb6d84f38e2fa479acc33af09a9125931ba3f72a.tar.gz gcc-bb6d84f38e2fa479acc33af09a9125931ba3f72a.tar.bz2 |
2003-12-27 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/http/Connection.java
(getRequestProperty): Removed.
(setRequestProperty): Removed.
From-SVN: r75175
-rw-r--r-- | libjava/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/gnu/java/net/protocol/http/Connection.java | 16 |
2 files changed, 6 insertions, 16 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 3714570c..a657e5a 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,6 +1,12 @@ 2003-12-27 Michael Koch <konqueror@gmx.de> * gnu/java/net/protocol/http/Connection.java + (getRequestProperty): Removed. + (setRequestProperty): Removed. + +2003-12-27 Michael Koch <konqueror@gmx.de> + + * gnu/java/net/protocol/http/Connection.java (connect): Call receiveReply(). (receiveReply): Renamed from getHttpHeaders(). (getOutputStream): Moved check on doOutput before check for connection diff --git a/libjava/gnu/java/net/protocol/http/Connection.java b/libjava/gnu/java/net/protocol/http/Connection.java index 632a20a..677ba7f 100644 --- a/libjava/gnu/java/net/protocol/http/Connection.java +++ b/libjava/gnu/java/net/protocol/http/Connection.java @@ -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 |