FileDocCategorySizeDatePackage
HttpPut.javaAPI DocAndroid 1.5 API2509Wed May 06 22:41:10 BST 2009org.apache.http.client.methods

HttpPut

public class HttpPut extends HttpEntityEnclosingRequestBase
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.

version
$Revision: 664505 $
since
4.0

Fields Summary
public static final String
METHOD_NAME
Constructors Summary
public HttpPut()

    
      
        super();
    
public HttpPut(URI uri)

        super();
        setURI(uri);
    
public HttpPut(String uri)

throws
IllegalArgumentException if the uri is invalid.

        super();
        setURI(URI.create(uri));
    
Methods Summary
public java.lang.StringgetMethod()

        return METHOD_NAME;