public class DeleteMethod extends HttpMethodBase
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.
Constructor and Description |
---|
DeleteMethod()
No-arg constructor.
|
DeleteMethod(String uri)
Constructor specifying a URI.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns "DELETE".
|
abort, addRequestHeader, addRequestHeader, addResponseFooter, execute, getAuthenticationRealm, getDoAuthentication, getEffectiveVersion, getFollowRedirects, getHostAuthState, getHostConfiguration, getMethodRetryHandler, getParams, getPath, getProxyAuthenticationRealm, getProxyAuthState, getQueryString, getRecoverableExceptionCount, getRequestCharSet, getRequestHeader, getRequestHeaders, getRequestHeaders, getResponseBody, getResponseBody, getResponseBodyAsStream, getResponseBodyAsString, getResponseBodyAsString, getResponseCharSet, getResponseContentLength, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaders, getResponseHeaders, getStatusCode, getStatusLine, getStatusText, getURI, hasBeenUsed, isAborted, isHttp11, isRequestSent, isStrictMode, recycle, releaseConnection, removeRequestHeader, removeRequestHeader, setDoAuthentication, setFollowRedirects, setHostConfiguration, setHttp11, setMethodRetryHandler, setParams, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setStrictMode, setURI, validate
public DeleteMethod()
public DeleteMethod(String uri)
uri
- either an absolute or relative URIpublic String getName()
getName
in interface HttpMethod
getName
in class HttpMethodBase
Copyright © 2010 - 2020 Adobe. All Rights Reserved