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 |
This class is deprecated.
Please use openConnection()
instead.
Please visit this webpage
for further details.
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the HTTP method this request uses, such as
GET ,
PUT , POST , or other.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
IllegalArgumentException | if the uri is invalid. |
---|
Returns the HTTP method this request uses, such as GET
,
PUT
, POST
, or other.