@NotThreadSafe public class ChunkDecoder extends AbstractContentDecoder
buffer, channel, completed, metrics| Constructor and Description |
|---|
ChunkDecoder(java.nio.channels.ReadableByteChannel channel,
SessionInputBuffer buffer,
HttpTransportMetricsImpl metrics) |
| Modifier and Type | Method and Description |
|---|---|
Header[] |
getFooters() |
int |
read(java.nio.ByteBuffer dst)
Reads a portion of content from the underlying channel
|
java.lang.String |
toString() |
fillBufferFromChannel, isCompleted, readFromChannel, readFromChannelpublic ChunkDecoder(java.nio.channels.ReadableByteChannel channel,
SessionInputBuffer buffer,
HttpTransportMetricsImpl metrics)
public int read(java.nio.ByteBuffer dst)
throws java.io.IOException
ContentDecoderdst - The buffer into which entity content is to be transferredjava.io.IOException - if I/O error occurs while reading contentpublic Header[] getFooters()
public java.lang.String toString()
toString in class java.lang.Object