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 /libjava/gnu/java/net/protocol | |
| 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
Diffstat (limited to 'libjava/gnu/java/net/protocol')
| -rw-r--r-- | libjava/gnu/java/net/protocol/http/Connection.java | 16 |
1 files changed, 0 insertions, 16 deletions
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 |
