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
Added in API level 1
package

org.apache.http.entity

Representations for HTTP message entities. An entity is the optional content of a message . You'll find a basic selection of entity implementations here. If you need to send an entity, you can provide it for example as a byte array , string , file , or through an arbitrary input stream . If you receive a message with an entity, you typically get that as a basic entity. Entity implementations can be wrapped , for example to buffer the content in memory.

Interfaces

ContentLengthStrategy Represents a strategy to determine the content length based on the properties of an HTTP message. 
ContentProducer An abstract entity content producer. 

Classes

AbstractHttpEntity Abstract base class for entities. 
BasicHttpEntity A generic streamed entity being received on a connection. 
BufferedHttpEntity A wrapping entity that buffers it content if necessary. 
ByteArrayEntity An entity whose content is retrieved from a byte array. 
EntityTemplate Entity that delegates the process of content generation to an abstract content producer. 
FileEntity An entity whose content is retrieved from a file. 
HttpEntityWrapper Base class for wrapping entities. 
InputStreamEntity A streamed entity obtaining content from an InputStream
SerializableEntity  
StringEntity An entity whose content is retrieved from a string.