Package cronapi

Class HttpWithBody

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
cronapi.HttpWithBody
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 HttpWithBody extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase
  • Field Summary

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

    headergroup, params
  • Constructor Summary

    Constructors
    Constructor
    Description
    HttpWithBody(org.apache.http.client.methods.HttpRequestBase http, String methodName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected void
     
    void
    setEntity(org.apache.http.HttpEntity entity)
     

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

    clone, expectContinue, getEntity

    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
  • Constructor Details

    • HttpWithBody

      public HttpWithBody(org.apache.http.client.methods.HttpRequestBase http, String methodName)
  • Method Details

    • setEntity

      public void setEntity(org.apache.http.HttpEntity entity)
      Specified by:
      setEntity in interface org.apache.http.HttpEntityEnclosingRequest
      Overrides:
      setEntity in class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
    • remakeURI

      protected void remakeURI()
    • 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