* 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
2003-12-27 Michael Koch <konqueror@gmx.de>
* 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().
(receiveReply): Renamed from getHttpHeaders().
(getOutputStream): Moved check on doOutput before check for connection
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