2003-12-27 Michael Koch <konqueror@gmx.de>

* gnu/java/net/protocol/http/Connection.java
	(getRequestProperty): Removed.
	(setRequestProperty): Removed.

From-SVN: r75175
This commit is contained in:
Michael Koch 2003-12-27 20:49:12 +00:00 committed by Michael Koch
parent bf86d71e8a
commit bb6d84f38e
2 changed files with 6 additions and 16 deletions

View 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