|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.httpclient.HttpMethodBase
com.microsoft.tfs.core.httpclient.methods.ExpectContinueMethod
com.microsoft.tfs.core.httpclient.methods.EntityEnclosingMethod
com.microsoft.tfs.core.httpclient.methods.PutMethod
public class 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.
Field Summary |
---|
Fields inherited from class com.microsoft.tfs.core.httpclient.methods.EntityEnclosingMethod |
---|
CONTENT_LENGTH_AUTO, CONTENT_LENGTH_CHUNKED |
Fields inherited from class com.microsoft.tfs.core.httpclient.HttpMethodBase |
---|
effectiveVersion, statusLine |
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 com.microsoft.tfs.core.httpclient.methods.EntityEnclosingMethod |
---|
addContentLengthRequestHeader, addRequestHeaders, clearRequestBody, generateRequestBody, generateRequestEntity, getFollowRedirects, getRequestCharSet, getRequestContentLength, getRequestEntity, hasRequestContent, recycle, setContentChunked, setFollowRedirects, setRequestBody, setRequestBody, setRequestContentLength, setRequestContentLength, setRequestEntity, writeRequestBody |
Methods inherited from class com.microsoft.tfs.core.httpclient.methods.ExpectContinueMethod |
---|
getUseExpectHeader, setUseExpectHeader |
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 URIMethod Detail |
---|
public java.lang.String getName()
getName
in interface HttpMethod
getName
in class HttpMethodBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |