| Modifier and Type | Class and Description |
|---|---|
| private class | ChunkReader.
Class that parses HTTP trailers. |
| Modifier and Type | Field and Description |
|---|---|
| private final Attachable | |
| private final T | |
| private static final long | |
| private static final long | |
| private static final long | |
| private static final long | |
| private static final long | |
| private static final long | |
| private static final long | |
| private long | |
| private final AttachmentKey | |
| private ChunkReader | trailerParser
The trailer parser that stores the trailer parse state. |
| Access | Constructor and Description |
|---|---|
| pack-priv | ChunkReader(final Attachable attachable, final AttachmentKey<HeaderMap> trailerAttachmentKey, T conduit)
|
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| private int | |
| public long | |
| public void |
| attachable | back to summary |
|---|---|
| private final Attachable attachable | |
| conduit | back to summary |
|---|---|
| private final T conduit | |
| FLAG_FINISHED | back to summary |
|---|---|
| private static final long FLAG_FINISHED | |
| FLAG_READING_AFTER_LAST | back to summary |
|---|---|
| private static final long FLAG_READING_AFTER_LAST | |
| FLAG_READING_LENGTH | back to summary |
|---|---|
| private static final long FLAG_READING_LENGTH | |
| FLAG_READING_NEWLINE | back to summary |
|---|---|
| private static final long FLAG_READING_NEWLINE | |
| FLAG_READING_TILL_END_OF_LINE | back to summary |
|---|---|
| private static final long FLAG_READING_TILL_END_OF_LINE | |
| LIMIT | back to summary |
|---|---|
| private static final long LIMIT | |
| MASK_COUNT | back to summary |
|---|---|
| private static final long MASK_COUNT | |
| state | back to summary |
|---|---|
| private long state | |
| trailerAttachmentKey | back to summary |
|---|---|
| private final AttachmentKey<HeaderMap> trailerAttachmentKey | |
| trailerParser | back to summary |
|---|---|
| private ChunkReader<T>. The trailer parser that stores the trailer parse state. If this class is not null it means that we are in the middle of parsing trailers. | |
| ChunkReader | back to summary |
|---|---|
| pack-priv ChunkReader(final Attachable attachable, final AttachmentKey<HeaderMap> trailerAttachmentKey, T conduit) | |
| getChunkRemaining | back to summary |
|---|---|
| public long getChunkRemaining() | |
| handleChunkedRequestEnd | back to summary |
|---|---|
| private int handleChunkedRequestEnd(ByteBuffer buffer) throws IOException | |
| readChunk | back to summary |
|---|---|
| public long readChunk(final ByteBuffer buf) throws IOException | |
| setChunkRemaining | back to summary |
|---|---|
| public void setChunkRemaining(final long remaining) | |
| Modifier and Type | Field and Description |
|---|---|
| private StringBuilder | |
| private HeaderMap | |
| private HttpString | |
| pack-priv int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int |
| builder | back to summary |
|---|---|
| private StringBuilder builder | |
| headerMap | back to summary |
|---|---|
| private HeaderMap headerMap | |
| httpString | back to summary |
|---|---|
| private HttpString httpString | |
| state | back to summary |
|---|---|
| pack-priv int state | |
| STATE_ENDING | back to summary |
|---|---|
| private static final int STATE_ENDING | |
| STATE_TRAILER_NAME | back to summary |
|---|---|
| private static final int STATE_TRAILER_NAME | |
| STATE_TRAILER_VALUE | back to summary |
|---|---|
| private static final int STATE_TRAILER_VALUE | |
| TrailerParser | back to summary |
|---|---|
| private TrailerParser() | |
| handle | back to summary |
|---|---|
| public int handle(ByteBuffer buf) throws IOException | |