|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.apache.commons.httpclient.HttpMethodBase
|
+--org.apache.commons.httpclient.methods.GetMethod
|
+--org.apache.commons.httpclient.methods.ExpectContinueMethod
|
+--org.apache.commons.httpclient.methods.EntityEnclosingMethod
|
+--org.apache.commons.httpclient.methods.PutMethod
Implements the 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.
| Fields inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod |
CONTENT_LENGTH_AUTO,
CONTENT_LENGTH_CHUNKED |
| Fields inherited from class org.apache.commons.httpclient.HttpMethodBase |
USER_AGENT |
| Constructor Summary | |
PutMethod()
No-arg constructor. |
|
PutMethod(java.lang.String uri)
Constructor specifying a URI. |
|
| Method Summary | |
java.lang.String |
getName()
Return "PUT". |
| Methods inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod |
addContentLengthRequestHeader,
clearRequestBody,
generateRequestBody,
getFollowRedirects,
getRequestBody,
getRequestBodyAsString,
getRequestContentLength,
hasRequestContent,
recycle,
setFollowRedirects,
setRequestBody,
setRequestBody,
setRequestContentLength,
writeRequestBody |
| Methods inherited from class org.apache.commons.httpclient.methods.ExpectContinueMethod |
addRequestHeaders,
getUseExpectHeader,
setUseExpectHeader |
| Methods inherited from class org.apache.commons.httpclient.methods.GetMethod |
getFileData,
getTempDir,
getTempFile,
getUseDisk,
readResponseBody,
setFileData,
setTempDir,
setTempFile,
setUseDisk |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public PutMethod()
public PutMethod(java.lang.String uri)
uri - either an absolute or relative URI| Method Detail |
public java.lang.String getName()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||