package

org.apache.http.nio.entity

Representations for non-blocking HTTP message entities. An org.apache.http.HttpEntity entity is the optional content of a org.apache.http.HttpMessage message. This package provides a basic selection of entity implementations that can obtain content from byte array, string, file, or through an compatibility adaptor for blocking HTTP entities. If a message is received from an open non-blocking connection, usually it is represented by consuming entity.

Interfaces

ConsumingNHttpEntity A non-blocking HttpEntity that allows content to be streamed from a ContentDecoder
ContentListener A listener for available data on a non-blocking ConsumingNHttpEntity
HttpNIOEntity This interface is deprecated. Use ProducingNHttpEntity 
ProducingNHttpEntity An HttpEntity that can stream content out into a ContentEncoder

Classes

BufferingNHttpEntity A ConsumingNHttpEntity that consumes content into a buffer. 
ByteArrayNIOEntity This class is deprecated. Use NByteArrayEntity 
ConsumingNHttpEntityTemplate A ConsumingNHttpEntity that forwards available content to a ContentListener
ContentBufferEntity HTTP entity wrapper whose content is provided by a ContentInputBuffer
ContentInputStream InputStream adaptor for ContentInputBuffer
ContentOutputStream OutputStream adaptor for ContentOutputBuffer
FileNIOEntity This class is deprecated. Use NFileEntity 
NByteArrayEntity A simple self contained, repeatable non-blocking entity that retrieves its content from a byte array. 
NFileEntity A self contained, repeatable non-blocking entity that retrieves its content from a file. 
NHttpEntityWrapper ProducingNHttpEntity compatibility adaptor for blocking HTTP entities. 
NStringEntity A simple, self contained, repeatable non-blocking entity that retrieves its content from a String object. 
SkipContentListener A simple ContentListener that reads and ignores all content. 
StringNIOEntity This class is deprecated. Use NStringEntity