public class ChunkDecoder extends AbstractContentDecoder
completed| 构造器和说明 |
|---|
ChunkDecoder(ReadableByteChannel channel,
SessionInputBuffer buffer,
BasicHttpTransportMetrics metrics) |
ChunkDecoder(ReadableByteChannel channel,
SessionInputBuffer buffer,
Http1Config http1Config,
BasicHttpTransportMetrics metrics) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<? extends Header> |
getTrailers()
Returns content trailers if available
|
int |
read(ByteBuffer dst)
Reads a portion of content from the underlying channel
|
String |
toString() |
buffer, channel, fillBufferFromChannel, isCompleted, metrics, readFromChannel, readFromChannel, setCompleted, setCompletedpublic ChunkDecoder(ReadableByteChannel channel, SessionInputBuffer buffer, Http1Config http1Config, BasicHttpTransportMetrics metrics)
public ChunkDecoder(ReadableByteChannel channel, SessionInputBuffer buffer, BasicHttpTransportMetrics 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 List<? extends Header> getTrailers()
ContentDecodergetTrailers 在接口中 ContentDecodergetTrailers 在类中 AbstractContentDecoderCopyright © 2023. All rights reserved.