Class HttpDeleteWithBody

java.lang.Object
org.apache.http.message.AbstractHttpMessage
org.apache.http.client.methods.AbstractExecutionAwareRequest
org.apache.http.client.methods.HttpRequestBase
org.apache.http.client.methods.HttpEntityEnclosingRequestBase
de.iip_ecosphere.platform.ecsRuntime.kubernetes.proxy.HttpDeleteWithBody
All Implemented Interfaces:
Cloneable, org.apache.http.client.methods.AbortableHttpRequest, org.apache.http.client.methods.Configurable, org.apache.http.client.methods.HttpExecutionAware, org.apache.http.client.methods.HttpUriRequest, org.apache.http.HttpEntityEnclosingRequest, org.apache.http.HttpMessage, org.apache.http.HttpRequest

public class HttpDeleteWithBody extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase
Extended the http apache base request to add body to the delete http apache request.
Author:
Ahmad Alamoush, SSE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

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

    headergroup, params
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a HttpDeleteWithBody instance.
    Creates a HttpDeleteWithBody instance.
    Creates a HttpDeleteWithBody instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the method name of the request.

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

    clone, expectContinue, getEntity, setEntity

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

    getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString

    Methods inherited from class org.apache.http.client.methods.AbstractExecutionAwareRequest

    abort, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger

    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.HttpMessage

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

    Methods inherited from interface org.apache.http.HttpRequest

    getRequestLine

    Methods inherited from interface org.apache.http.client.methods.HttpUriRequest

    abort, isAborted
  • Field Details

  • Constructor Details

    • HttpDeleteWithBody

      public HttpDeleteWithBody(String uri)
      Creates a HttpDeleteWithBody instance.
      Parameters:
      uri - the URL as String
    • HttpDeleteWithBody

      public HttpDeleteWithBody(URI uri)
      Creates a HttpDeleteWithBody instance.
      Parameters:
      uri - the URL as URI
    • HttpDeleteWithBody

      public HttpDeleteWithBody()
      Creates a HttpDeleteWithBody instance.
  • Method Details

    • getMethod

      public String getMethod()
      Returns the method name of the request.
      Specified by:
      getMethod in interface org.apache.http.client.methods.HttpUriRequest
      Specified by:
      getMethod in class org.apache.http.client.methods.HttpRequestBase
      Returns:
      the protocol of the request