| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.entity.EntityDeserializer
BHttpConnectionBase
@Contract(threading=IMMUTABLE_CONDITIONAL) @Deprecated public class EntityDeserializer
HTTP entity deserializer.
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.
| Constructor Summary | |
|---|---|
| EntityDeserializer(ContentLengthStrategy lenStrategy)Deprecated. | |
| Method Summary | |
|---|---|
|  HttpEntity | deserialize(SessionInputBuffer inBuffer,
            HttpMessage message)Deprecated. Creates an HttpEntitybased on properties of the given message. | 
| protected  BasicHttpEntity | doDeserialize(SessionInputBuffer inBuffer,
              HttpMessage message)Deprecated. Creates a BasicHttpEntitybased on properties of the given
 message. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public EntityDeserializer(ContentLengthStrategy lenStrategy)
| Method Detail | 
|---|
protected BasicHttpEntity doDeserialize(SessionInputBuffer inBuffer,
                                        HttpMessage message)
                                 throws HttpException,
                                        IOException
BasicHttpEntity based on properties of the given
 message. The content of the entity is created by wrapping
 SessionInputBuffer with a content decoder depending on the
 transfer mechanism used by the message.
 
 This method is called by the public
 deserialize(SessionInputBuffer, HttpMessage).
inBuffer - the session input buffer.message - the message.
HttpException - in case of HTTP protocol violation.
IOException - in case of an I/O error.
public HttpEntity deserialize(SessionInputBuffer inBuffer,
                              HttpMessage message)
                       throws HttpException,
                              IOException
HttpEntity based on properties of the given message.
 The content of the entity is created by wrapping
 SessionInputBuffer with a content decoder depending on the
 transfer mechanism used by the message.
 The content of the entity is NOT retrieved by this method.
inBuffer - the session input buffer.message - the message.
HttpException - in case of HTTP protocol violation.
IOException - in case of an I/O error.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||