Class HttpDelete

  • All Implemented Interfaces:
    java.lang.Cloneable, AbortableHttpRequest, Configurable, HttpExecutionAware, HttpUriRequest, HttpMessage, HttpRequest

    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.
    Since:
    4.0
    • Constructor Detail

      • HttpDelete

        public HttpDelete()
      • HttpDelete

        public HttpDelete​(java.net.URI uri)
      • HttpDelete

        public HttpDelete​(java.lang.String uri)
        Throws:
        java.lang.IllegalArgumentException - if the uri is invalid.