public class ChunkDecoder extends AbstractContentDecoder
| 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() |
isCompletedpublic 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 © 2010 - 2020 Adobe. All Rights Reserved