Class HttpRequestWrapper.HttpEntityEnclosingRequestWrapper

java.lang.Object
org.apache.http.message.AbstractHttpMessage
org.apache.http.client.methods.HttpRequestWrapper
org.apache.http.client.methods.HttpRequestWrapper.HttpEntityEnclosingRequestWrapper
All Implemented Interfaces:
HttpUriRequest, org.apache.http.HttpEntityEnclosingRequest, org.apache.http.HttpMessage, org.apache.http.HttpRequest
Enclosing class:
HttpRequestWrapper

static class HttpRequestWrapper.HttpEntityEnclosingRequestWrapper extends HttpRequestWrapper implements org.apache.http.HttpEntityEnclosingRequest
  • Field Details

    • entity

      private org.apache.http.HttpEntity entity
  • Constructor Details

    • HttpEntityEnclosingRequestWrapper

      HttpEntityEnclosingRequestWrapper(org.apache.http.HttpEntityEnclosingRequest request, org.apache.http.HttpHost target)
  • Method Details

    • getEntity

      public org.apache.http.HttpEntity getEntity()
      Specified by:
      getEntity in interface org.apache.http.HttpEntityEnclosingRequest
    • setEntity

      public void setEntity(org.apache.http.HttpEntity entity)
      Specified by:
      setEntity in interface org.apache.http.HttpEntityEnclosingRequest
    • expectContinue

      public boolean expectContinue()
      Specified by:
      expectContinue in interface org.apache.http.HttpEntityEnclosingRequest