org.apache.commons.httpclient.methods
Class DeleteMethod

java.lang.Object
  |
  +--org.apache.commons.httpclient.HttpMethodBase
        |
        +--org.apache.commons.httpclient.methods.DeleteMethod
All Implemented Interfaces:
HttpMethod
Direct Known Subclasses:
UrlDeleteMethod

public class DeleteMethod
extends HttpMethodBase

DELETE Method. Implements an HTTP DELETE request.

Since:
1.0
Author:
Remy Maucherat, B.C. Holmes

Fields inherited from class org.apache.commons.httpclient.HttpMethodBase
USER_AGENT
 
Constructor Summary
DeleteMethod()
          No-arg constructor.
DeleteMethod(java.lang.String path)
          Path-setting constructor.
 
Method Summary
 java.lang.String getName()
          Returns "DELETE".
 
Methods inherited from class org.apache.commons.httpclient.HttpMethodBase
addAuthorizationRequestHeader, addContentLengthRequestHeader, addCookieRequestHeader, addHostRequestHeader, addProxyAuthorizationRequestHeader, addRequestHeader, addRequestHeader, addRequestHeaders, addResponseFooter, addUserAgentRequestHeader, checkNotUsed, checkUsed, execute, generateRequestLine, getFollowRedirects, getPath, getQueryString, getRequestContentLength, getRequestHeader, getRequestHeaders, getResponseBody, getResponseBodyAsStream, getResponseBodyAsString, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaders, getStatusCode, getStatusText, hasBeenUsed, isHttp11, isStrictMode, processResponseBody, processResponseHeaders, processStatusLine, readResponse, readResponseBody, readResponseHeaders, readStatusLine, recycle, removeRequestHeader, setFollowRedirects, setHttp11, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setResponseStream, setStrictMode, validate, writeRequest, writeRequestBody, writeRequestHeaders, writeRequestLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteMethod

public DeleteMethod()
No-arg constructor.
Since:
1.0

DeleteMethod

public DeleteMethod(java.lang.String path)
Path-setting constructor.
Parameters:
path - the path to request
Since:
1.0
Method Detail

getName

public java.lang.String getName()
Returns "DELETE".
Overrides:
getName in class HttpMethodBase
Returns:
"DELETE"
Since:
2.0


Copyright (c) 2001 - Apache Software Foundation