From bb6d84f38e2fa479acc33af09a9125931ba3f72a Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Sat, 27 Dec 2003 20:49:12 +0000 Subject: 2003-12-27 Michael Koch * gnu/java/net/protocol/http/Connection.java (getRequestProperty): Removed. (setRequestProperty): Removed. From-SVN: r75175 --- libjava/gnu/java/net/protocol/http/Connection.java | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'libjava/gnu/java') 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 -- cgit v1.1