See: Description
Interface | Description |
---|---|
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 | Deprecated |
ProducingNHttpEntity |
An
HttpEntity that can stream content out into a
ContentEncoder . |
Class | Description |
---|---|
BufferingNHttpEntity |
A
ConsumingNHttpEntity that consumes content into a buffer. |
ByteArrayNIOEntity | 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 | 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 | Deprecated
Use
NStringEntity |
entity
is the optional content of a
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.Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.