com.h3c.sdn.misc

## Class EntityHttpDelete

- java.lang.Object
- - org.apache.http.message.AbstractHttpMessage
  - - org.apache.http.client.methods.HttpRequestBase
    - - org.apache.http.client.methods.HttpEntityEnclosingRequestBase
      - - com.h3c.sdn.misc.EntityHttpDelete

- All Implemented Interfaces:
    Cloneable, org.apache.http.client.methods.AbortableHttpRequest, org.apache.http.client.methods.HttpUriRequest, org.apache.http.HttpEntityEnclosingRequest, org.apache.http.HttpMessage, org.apache.http.HttpRequest

      public class EntityHttpDelete
      extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase

  An HttpDelete method that accepts a request body.

- - ### Field Summary

    - ### Fields inherited from class org.apache.http.message.AbstractHttpMessage

      `headergroup, params`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EntityHttpDelete()` Constructor
    `EntityHttpDelete(String uri)` Constructor
    `EntityHttpDelete(URI uri)` Constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getMethod()`

    - ### Methods inherited from class org.apache.http.client.methods.HttpEntityEnclosingRequestBase

      `clone, expectContinue, getEntity, setEntity`

    - ### Methods inherited from class org.apache.http.client.methods.HttpRequestBase

      `abort, getProtocolVersion, getRequestLine, getURI, isAborted, releaseConnection, reset, setConnectionRequest, setReleaseTrigger, setURI, toString`

    - ### Methods inherited from class org.apache.http.message.AbstractHttpMessage

      `addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.apache.http.HttpRequest

      `getRequestLine`

    - ### Methods inherited from interface org.apache.http.HttpMessage

      `addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams`

- - ### Constructor Detail

    - #### EntityHttpDelete

          public EntityHttpDelete()

      Constructor

    - #### EntityHttpDelete

          public EntityHttpDelete(URI uri)

      Constructor
      Parameters:
        `uri` - uri to invoke delete on

    - #### EntityHttpDelete

          public EntityHttpDelete(String uri)

      Constructor
      Parameters:
        `uri` - uri to invoke delete on
      Throws:
        `IllegalArgumentException` - if the uri is invalid.

  - ### Method Detail

    - #### getMethod

          public String getMethod()

      Specified by:
        `getMethod` in interface `org.apache.http.client.methods.HttpUriRequest`
      Specified by:
        `getMethod` in class `org.apache.http.client.methods.HttpRequestBase`

Copyright © 2014. All Rights Reserved.