SessionOutputBuffer.
| Modifier and Type | Field and Description |
|---|---|
| protected final CharArrayBuffer | |
| protected final LineFormatter | |
| protected final SessionOutputBuffer |
| Access | Constructor and Description |
|---|---|
| public | AbstractMessageWriter(final SessionOutputBuffer
the session output buffer. buffer, final LineFormatter the line formatter. formatter, final HttpParams HTTP parameters. params)
Deprecated
(4.3) use
Creates an instance of AbstractMessageWriter.
AbstractMessageWriter#AbstractMessageWriter(SessionOutputBuffer, LineFormatter)
|
| public | AbstractMessageWriter(final SessionOutputBuffer
the session output buffer. buffer, final LineFormatter the line formatter If formatter)null BasicLineFormatter#INSTANCE
will be used.Creates an instance of AbstractMessageWriter. |
| Modifier and Type | Method and Description |
|---|---|
| public void | write(final T
HTTP message message)Implements org. HttpMessage to the underlying data
sink.
|
| protected abstract void | writeHeadLine(T
the message whose first line is to be written out. message)Subclasses must override this method to write out the first header line
based on the |
| lineBuf | back to summary |
|---|---|
| protected final CharArrayBuffer lineBuf | |
| lineFormatter | back to summary |
|---|---|
| protected final LineFormatter lineFormatter | |
| sessionBuffer | back to summary |
|---|---|
| protected final SessionOutputBuffer sessionBuffer | |
| AbstractMessageWriter | back to summary |
|---|---|
| public AbstractMessageWriter(final SessionOutputBuffer buffer, final LineFormatter formatter, final HttpParams params)
Deprecated (4.3) use
Creates an instance of AbstractMessageWriter.
| |
| AbstractMessageWriter | back to summary |
|---|---|
| public AbstractMessageWriter(final SessionOutputBuffer buffer, final LineFormatter formatter) Creates an instance of AbstractMessageWriter.
| |
| write | back to summary |
|---|---|
| public void write(final T message) throws IOException, HttpException Implements org. Doc from org. Serializes an instance of
| |
| writeHeadLine | back to summary |
|---|---|
| protected abstract void writeHeadLine(T message) throws IOException Subclasses must override this method to write out the first header line
based on the
| |