java.lang.Object | ||||
↳ | org.apache.http.message.AbstractHttpMessage | |||
↳ | org.apache.http.client.methods.HttpRequestBase | |||
↳ | org.apache.http.client.methods.HttpEntityEnclosingRequestBase | |||
↳ | org.apache.http.client.methods.HttpPut |
HTTP PUT method.
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.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | METHOD_NAME |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.message.AbstractHttpMessage
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the HTTP method this request uses, such as
GET ,
PUT , POST , or other. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
| |||||||||||
From class org.apache.http.client.methods.HttpRequestBase
| |||||||||||
From class org.apache.http.message.AbstractHttpMessage
| |||||||||||
From class java.lang.Object
| |||||||||||
From interface org.apache.http.HttpEntityEnclosingRequest
| |||||||||||
From interface org.apache.http.HttpMessage
| |||||||||||
From interface org.apache.http.HttpRequest
| |||||||||||
From interface org.apache.http.client.methods.AbortableHttpRequest
| |||||||||||
From interface org.apache.http.client.methods.HttpUriRequest
|
IllegalArgumentException | if the uri is invalid. |
---|
Returns the HTTP method this request uses, such as GET
,
PUT
, POST
, or other.