org.apache.commons.httpclient.methods
public class PutMethod extends EntityEnclosingMethod
The HTTP PUT method is defined in section 9.6 of RFC2616:
The PUT method requests that the enclosed entity be stored under the supplied Request-URI. If the Request-URI refers to an already existing resource, the enclosed entity SHOULD be considered as a modified version of the one residing on the origin server.
Since: 1.0
Version: $Revision: 155418 $
Constructor Summary | |
---|---|
PutMethod()
No-arg constructor.
| |
PutMethod(String uri)
Constructor specifying a URI.
|
Method Summary | |
---|---|
String | getName()
Return "PUT". |
Since: 1.0
Parameters: uri either an absolute or relative URI
Since: 1.0
Returns: "PUT"
Since: 2.0