Android Guides | Samples

Org.Apache.Http.Entity Namespace

Remarks

Representations for HTTP message entities. An IHttpEntity is the optional content of a IHttpMessage. 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 ByteArrayEntity, StringEntity, FileEntity, or through an arbitrary InputStreamEntity. If you receive a message with an entity, you typically get that as a BasicHttpEntity entity. Entity implementations can be HttpEntityWrapper, for example to BufferedHttpEntity the content in memory.

Classes

TypeReason
AbstractHttpEntityAbstract base class for entities.
BasicHttpEntityA generic streamed entity being received on a connection.
BufferedHttpEntityA wrapping entity that buffers it content if necessary.
ByteArrayEntityAn entity whose content is retrieved from a byte array.
ContentLengthStrategyRepresents a strategy to determine the content length based on the properties of an HTTP message.
ContentLengthStrategyConsts
EntityTemplateEntity that delegates the process of content generation to an abstract content producer.
FileEntityAn entity whose content is retrieved from a file.
HttpEntityWrapperBase class for wrapping entities.
IContentLengthStrategyRepresents a strategy to determine the content length based on the properties of an HTTP message.
IContentProducerAn abstract entity content producer.
InputStreamEntityA streamed entity obtaining content from an InputStream.
SerializableEntity [Android Documentation]
StringEntityAn entity whose content is retrieved from a string.