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:
parent
bf86d71e8a
commit
bb6d84f38e
2 changed files with 6 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue