Deprecated
(4.3) use org.
This entity deserializer supports "chunked" and "identitiy" transfer-coding and content length delimited content.
This class relies on a specific implementation of
ContentLengthStrategy to determine the content length or transfer
encoding of the entity.
This class generates an instance of HttpEntity based on
properties of the message. The content of the entity will be decoded
transparently for the consumer.
| Modifier and Type | Field and Description |
|---|---|
| private final ContentLengthStrategy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HttpEntity | Returns: HTTP entity.the session input buffer. inBuffer, final HttpMessage the message. message)Creates an |
| protected BasicHttpEntity | Returns: HTTP entity.the session input buffer. inBuffer, final HttpMessage the message. message)Creates a |
| lenStrategy | back to summary |
|---|---|
| private final ContentLengthStrategy lenStrategy | |
| EntityDeserializer | back to summary |
|---|---|
| public EntityDeserializer(final ContentLengthStrategy lenStrategy) | |
| deserialize | back to summary |
|---|---|
| public HttpEntity deserialize(final SessionInputBuffer inBuffer, final HttpMessage message) throws HttpException, IOException Creates an The content of the entity is NOT retrieved by this method.
| |
| doDeserialize | back to summary |
|---|---|
| protected BasicHttpEntity doDeserialize(final SessionInputBuffer inBuffer, final HttpMessage message) throws HttpException, IOException Creates a
This method is called by the public
| |