Build 1.0_r1(from source)

org.apache.http.impl.io
Class AbstractMessageWriter

java.lang.Object
  extended by org.apache.http.impl.io.AbstractMessageWriter
All Implemented Interfaces:
HttpMessageWriter
Direct Known Subclasses:
HttpRequestWriter, HttpResponseWriter

public abstract class AbstractMessageWriter
extends Object
implements HttpMessageWriter


Field Summary
protected  CharArrayBuffer lineBuf
           
protected  LineFormatter lineFormatter
           
protected  SessionOutputBuffer sessionBuffer
           
 
Constructor Summary
AbstractMessageWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)
           
 
Method Summary
 void write(HttpMessage message)
           
protected abstract  void writeHeadLine(HttpMessage message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionBuffer

protected final SessionOutputBuffer sessionBuffer

lineBuf

protected final CharArrayBuffer lineBuf

lineFormatter

protected final LineFormatter lineFormatter
Constructor Detail

AbstractMessageWriter

public AbstractMessageWriter(SessionOutputBuffer buffer,
                             LineFormatter formatter,
                             HttpParams params)
Method Detail

writeHeadLine

protected abstract void writeHeadLine(HttpMessage message)
                               throws IOException
Throws:
IOException

write

public void write(HttpMessage message)
           throws IOException,
                  HttpException
Specified by:
write in interface HttpMessageWriter
Throws:
IOException
HttpException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature