Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

HttpEntityEnclosingRequest

implements HttpRequest
org.apache.http.HttpEntityEnclosingRequest
Known Indirect Subclasses

Class Overview

A request with an entity.

Summary

Public Methods
abstract boolean expectContinue ()
Tells if this request should use the expect-continue handshake.
abstract HttpEntity getEntity ()
abstract void setEntity ( HttpEntity entity)
Hands the entity to the request.
[Expand]
Inherited Methods
From interface org.apache.http.HttpMessage
From interface org.apache.http.HttpRequest

Public Methods

public abstract boolean expectContinue ()

Added in API level 1

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.

Returns
  • true if the expect continue handshake should be used, false if not.

public abstract HttpEntity getEntity ()

Added in API level 1

public abstract void setEntity ( HttpEntity entity)

Added in API level 1

Hands the entity to the request.

Parameters
entity the entity to send.