org.apache.commons.httpclient.methods

Class DeleteMethod

public class DeleteMethod extends HttpMethodBase

Implements the 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. This method MAY be overridden by human intervention (or other means) on the origin server.

Since: 1.0

Version: $Revision: 155418 $

Author: Remy Maucherat B.C. Holmes Jeff Dever

Constructor Summary
DeleteMethod()
No-arg constructor.
DeleteMethod(String uri)
Constructor specifying a URI.
Method Summary
StringgetName()
Returns "DELETE".

Constructor Detail

DeleteMethod

public DeleteMethod()
No-arg constructor.

Since: 1.0

DeleteMethod

public DeleteMethod(String uri)
Constructor specifying a URI.

Parameters: uri either an absolute or relative URI

Since: 1.0

Method Detail

getName

public String getName()
Returns "DELETE".

Returns: "DELETE"

Since: 2.0

Copyright (c) 1999-2005 - Apache Software Foundation