public class ChunkDecoder extends AbstractContentDecoder
buffer, channel, completed, metrics| Constructor and Description |
|---|
ChunkDecoder(ReadableByteChannel channel,
SessionInputBuffer buffer,
HttpTransportMetricsImpl metrics) |
ChunkDecoder(ReadableByteChannel channel,
SessionInputBuffer buffer,
MessageConstraints constraints,
HttpTransportMetricsImpl metrics) |
| Modifier and Type | Method and Description |
|---|---|
Header[] |
getFooters() |
int |
read(ByteBuffer dst)
Reads a portion of content from the underlying channel
|
String |
toString() |
fillBufferFromChannel, isCompleted, readFromChannel, readFromChannel, setCompleted, setCompletedpublic ChunkDecoder(ReadableByteChannel channel, SessionInputBuffer buffer, MessageConstraints constraints, HttpTransportMetricsImpl metrics)
public ChunkDecoder(ReadableByteChannel channel, SessionInputBuffer buffer, HttpTransportMetricsImpl metrics)
public int read(ByteBuffer dst) throws IOException
ContentDecoderdst - The buffer into which entity content is to be transferredIOException - if I/O error occurs while reading contentpublic Header[] getFooters()
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.