Build 1.0_r1(from source)

org.apache.http.impl.entity
Class EntitySerializer

java.lang.Object
  extended by org.apache.http.impl.entity.EntitySerializer

public class EntitySerializer
extends Object

Default implementation of an entity serializer.

This entity serializer currently supports only "chunked" and "identitiy" transfer-coding

Since:
4.0

Constructor Summary
EntitySerializer(ContentLengthStrategy lenStrategy)
           
 
Method Summary
protected  OutputStream doSerialize(SessionOutputBuffer outbuffer, HttpMessage message)
           
 void serialize(SessionOutputBuffer outbuffer, HttpMessage message, HttpEntity entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntitySerializer

public EntitySerializer(ContentLengthStrategy lenStrategy)
Method Detail

doSerialize

protected OutputStream doSerialize(SessionOutputBuffer outbuffer,
                                   HttpMessage message)
                            throws HttpException,
                                   IOException
Throws:
HttpException
IOException

serialize

public void serialize(SessionOutputBuffer outbuffer,
                      HttpMessage message,
                      HttpEntity entity)
               throws HttpException,
                      IOException
Throws:
HttpException
IOException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature