| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final CharArrayBuffer |
| Access | Constructor and Description |
|---|---|
| public | ChunkEncoder(final WritableByteChannel
underlying channel. channel, final SessionOutputBuffer session buffer. buffer, final BasicHttpTransportMetrics transport metrics. metrics, final int chunkSizeHint)
|
| public | ChunkEncoder(final WritableByteChannel channel, final SessionOutputBuffer buffer, final BasicHttpTransportMetrics metrics)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | complete(final List<? extends Header> trailers)
Overrides org. Implements org. |
| public String | |
| public int | write(final ByteBuffer
The buffer from which content is to be retrieved src)Implements org. |
| private void |
| chunkSizeHint | back to summary |
|---|---|
| private final int chunkSizeHint | |
| lineBuffer | back to summary |
|---|---|
| private final CharArrayBuffer lineBuffer | |
| ChunkEncoder | back to summary |
|---|---|
public ChunkEncoder(final WritableByteChannel channel, final SessionOutputBuffer buffer, final BasicHttpTransportMetrics metrics, final int chunkSizeHint)
| |
| ChunkEncoder | back to summary |
|---|---|
| public ChunkEncoder(final WritableByteChannel channel, final SessionOutputBuffer buffer, final BasicHttpTransportMetrics metrics) | |
| complete | back to summary |
|---|---|
| public void complete(final List<? extends Header> trailers) throws IOException Overrides org. Implements org. Doc from org. Terminates the content stream.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| write | back to summary |
|---|---|
| public int write(final ByteBuffer src) throws IOException Implements org. Doc from org. Writes a portion of entity content to the underlying channel.
| |
| writeTrailers | back to summary |
|---|---|
| private void writeTrailers(final List<? extends Header> trailers) throws IOException | |