org.apache.hc.core5.http.io.SessionOutputBuffer .
| Modifier and Type | Field and Description |
|---|---|
| private final CharArrayBuffer | |
| private final LineFormatter |
| Access | Constructor and Description |
|---|---|
| public | AbstractMessageWriter(final LineFormatter
the line formatter If formatter)null BasicLineFormatter#INSTANCE
will be used.Creates an instance of AbstractMessageWriter. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv LineFormatter | |
| public void | write(final T
HTTP message head message, final SessionOutputBuffer session output buffer buffer, final OutputStream outputStream)Implements org. MessageHeaders to the given output stream.
|
| protected abstract void | writeHeadLine(T
the message whose first line is to be written out. message, CharArrayBuffer line buffer lineBuf)Subclasses must override this method to write out the first header line
based on the |
| lineBuf | back to summary |
|---|---|
| private final CharArrayBuffer lineBuf | |
| lineFormatter | back to summary |
|---|---|
| private final LineFormatter lineFormatter | |
| AbstractMessageWriter | back to summary |
|---|---|
| public AbstractMessageWriter(final LineFormatter formatter) Creates an instance of AbstractMessageWriter.
| |
| getLineFormatter | back to summary |
|---|---|
| pack-priv LineFormatter getLineFormatter() | |
| write | back to summary |
|---|---|
| public void write(final T message, final SessionOutputBuffer buffer, final OutputStream outputStream) throws IOException, HttpException Implements org. Doc from org. Serializes an instance of
| |
| writeHeadLine | back to summary |
|---|---|
| protected abstract void writeHeadLine(T message, CharArrayBuffer lineBuf) throws IOException Subclasses must override this method to write out the first header line
based on the
| |