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

HttpDelete

public class HttpDelete extends HttpRequestBase
HTTP DELETE method

The HTTP DELETE method is defined in section 9.7 of RFC2616:

The DELETE method requests that the origin server delete the resource identified by the Request-URI. [...] The client cannot be guaranteed that the operation has been carried out, even if the status code returned from the origin server indicates that the action has been completed successfully.

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


    
      
        super();
    
public HttpDelete(URI uri)

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

throws
IllegalArgumentException if the uri is invalid.

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

        return METHOD_NAME;