@NotThreadSafe public class HttpDeleteHC4 extends HttpRequestBaseHC4
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.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
METHOD_NAME |
| Constructor and Description |
|---|
HttpDeleteHC4() |
HttpDeleteHC4(java.lang.String uri) |
HttpDeleteHC4(java.net.URI uri) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMethod() |
getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toStringabort, clone, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTriggeraddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamspublic static final java.lang.String METHOD_NAME
public HttpDeleteHC4()
public HttpDeleteHC4(java.net.URI uri)
public HttpDeleteHC4(java.lang.String uri)
java.lang.IllegalArgumentException - if the uri is invalid.public java.lang.String getMethod()
getMethod in interface org.apache.http.client.methods.HttpUriRequestgetMethod in class HttpRequestBaseHC4Copyright © 1999-2015 The Apache Software Foundation. All rights reserved.