Interface | Description |
---|---|
ContentLengthStrategy |
Represents a strategy to determine length of the enclosed content entity
based on properties of the HTTP message.
|
ContentProducer |
An abstract entity content producer.
|
Class | Description |
---|---|
AbstractHttpEntity |
Abstract base class for entities.
|
BasicHttpEntity |
A generic streamed, non-repeatable entity that obtains its content
from an
InputStream . |
BufferedHttpEntity |
A wrapping entity that buffers it content if necessary.
|
ByteArrayEntity |
A self contained, repeatable entity that obtains its content from a byte array.
|
ContentType |
Content type information consisting of a MIME type and an optional charset.
|
EntityTemplate |
Entity that delegates the process of content generation
to a
ContentProducer . |
FileEntity |
A self contained, repeatable entity that obtains its content from a file.
|
HttpEntityWrapper |
Base class for wrapping entities.
|
InputStreamEntity |
A streamed, non-repeatable entity that obtains its content from
an
InputStream . |
SerializableEntity |
A streamed entity that obtains its content from a
Serializable . |
StringEntity |
A self contained, repeatable entity that obtains its content from
a
String . |
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 arbitrary
input stream
.
If a message is received from an open connection, usually it is
represented by
streamed
entity.
Entity implementations can be
wrapped
,
for example to
buffer
the content in memory.Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.