diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-27 20:49:12 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-27 20:49:12 +0000 |
commit | 656f1819e1af62be0066856737877653770bf12b (patch) | |
tree | 803d1dc66925c731022db2fee6d7ec44723984d9 /libjava/gnu/java/net/protocol | |
parent | eed31a1178e92a2e5f024e099ff884dfc7bd24ff (diff) | |
download | ppe42-gcc-656f1819e1af62be0066856737877653770bf12b.tar.gz ppe42-gcc-656f1819e1af62be0066856737877653770bf12b.zip |
2003-12-27 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/http/Connection.java
(getRequestProperty): Removed.
(setRequestProperty): Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75175 138bc75d-0d04-0410-961f-82ee72b054a4
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 632a20a81bc..677ba7f1e65 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 |