Interface HttpEntityEnclosingRequest

    • Method Detail

      • expectContinue

        boolean expectContinue()
        Tells if this request should use the expect-continue handshake. The expect continue handshake gives the server a chance to decide whether to accept the entity enclosing request before the possibly lengthy entity is sent across the wire.
        true if the expect continue handshake should be used, false if not.
      • setEntity

        void setEntity​(HttpEntity entity)
        Associates the entity with this request.
        entity - the entity to send.
      • getEntity

        HttpEntity getEntity()
        Returns the entity associated with this request.