| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private boolean | |
| private boolean | |
| private final Http1Config | |
| private CharArrayBuffer | |
| private long | |
| private ChunkDecoder. | |
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | ChunkDecoder(final ReadableByteChannel channel, final SessionInputBuffer buffer, final Http1Config http1Config, final BasicHttpTransportMetrics metrics)
|
| public | ChunkDecoder(final ReadableByteChannel channel, final SessionInputBuffer buffer, final BasicHttpTransportMetrics metrics)
|
| Modifier and Type | Method and Description |
|---|---|
| public List | getTrailers()
Overrides org. Implements org. |
| private void | |
| private void | |
| public int | read(final ByteBuffer
The buffer into which entity content is to be transferred dst)Implements org. |
| private void | |
| public String |
| chunkSize | back to summary |
|---|---|
| private long chunkSize | |
| endOfChunk | back to summary |
|---|---|
| private boolean endOfChunk | |
| endOfStream | back to summary |
|---|---|
| private boolean endOfStream | |
| http1Config | back to summary |
|---|---|
| private final Http1Config http1Config | |
| lineBuf | back to summary |
|---|---|
| private CharArrayBuffer lineBuf | |
| pos | back to summary |
|---|---|
| private long pos | |
| state | back to summary |
|---|---|
| private ChunkDecoder. | |
| trailerBufs | back to summary |
|---|---|
| private final List<CharArrayBuffer> trailerBufs | |
| trailers | back to summary |
|---|---|
| private final List<Header> trailers | |
| ChunkDecoder | back to summary |
|---|---|
public ChunkDecoder(final ReadableByteChannel channel, final SessionInputBuffer buffer, final Http1Config http1Config, final BasicHttpTransportMetrics metrics)
| |
| ChunkDecoder | back to summary |
|---|---|
| public ChunkDecoder(final ReadableByteChannel channel, final SessionInputBuffer buffer, final BasicHttpTransportMetrics metrics) | |
| getTrailers | back to summary |
|---|---|
| public List Overrides org. Implements org. Doc from org. Returns content trailers if available | |
| parseHeader | back to summary |
|---|---|
| private void parseHeader() throws IOException | |
| processFooters | back to summary |
|---|---|
| private void processFooters() throws IOException | |
| read | back to summary |
|---|---|
| public int read(final ByteBuffer dst) throws IOException Implements org. Doc from org. Reads a portion of content from the underlying channel
| |
| readChunkHead | back to summary |
|---|---|
| private void readChunkHead() throws IOException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ChunkDecoder. | |
| public static final ChunkDecoder. | |
| public static final ChunkDecoder. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ChunkDecoder. | |
| public static ChunkDecoder. |
| COMPLETED | back to summary |
|---|---|
| public static final ChunkDecoder. | |
| READ_CONTENT | back to summary |
|---|---|
| public static final ChunkDecoder. | |
| READ_FOOTERS | back to summary |
|---|---|
| public static final ChunkDecoder. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static ChunkDecoder. | |
| values | back to summary |
|---|---|
| public static ChunkDecoder. | |