Commit bb6d84f3 by Michael Koch Committed by Michael Koch

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

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

From-SVN: r75175
parent bf86d71e
2003-12-27 Michael Koch <konqueror@gmx.de> 2003-12-27 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/http/Connection.java * 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(). (connect): Call receiveReply().
(receiveReply): Renamed from getHttpHeaders(). (receiveReply): Renamed from getHttpHeaders().
(getOutputStream): Moved check on doOutput before check for connection (getOutputStream): Moved check on doOutput before check for connection
......
...@@ -122,22 +122,6 @@ public final class Connection extends HttpURLConnection ...@@ -122,22 +122,6 @@ public final class Connection extends HttpURLConnection
doOutput = false; 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 * Connects to the remote host, sends the request, and parses the reply
* code and header information returned * code and header information returned
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment