| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private ByteBuf | |
| private int | |
| private int | |
| private static final int | |
| private final int | |
| private String | |
| private int | |
| private SpdyHeaderBlockRawDecoder. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | decode(ByteBufAllocator
the alloc, ByteBuf ByteBufAllocator which can be used to allocate new ByteBufsthe HeaderBlock to decode headerBlock, SpdyHeadersFrame the Headers frame that receives the Name/Value pairs frame)Implements abstract io. |
| protected void | |
| pack-priv void | |
| pack-priv void | endHeaderBlock(SpdyHeadersFrame frame)
Implements abstract io. |
| private static int | |
| private void |
| cumulation | back to summary |
|---|---|
| private ByteBuf cumulation | |
| headerSize | back to summary |
|---|---|
| private int headerSize | |
| length | back to summary |
|---|---|
| private int length | |
| LENGTH_FIELD_SIZE | back to summary |
|---|---|
| private static final int LENGTH_FIELD_SIZE | |
| maxHeaderSize | back to summary |
|---|---|
| private final int maxHeaderSize | |
| name | back to summary |
|---|---|
| private String name | |
| numHeaders | back to summary |
|---|---|
| private int numHeaders | |
| state | back to summary |
|---|---|
| private SpdyHeaderBlockRawDecoder. | |
| SpdyHeaderBlockRawDecoder | back to summary |
|---|---|
| public SpdyHeaderBlockRawDecoder(SpdyVersion spdyVersion, int maxHeaderSize) | |
| decode | back to summary |
|---|---|
| pack-priv void decode(ByteBufAllocator alloc, ByteBuf headerBlock, SpdyHeadersFrame frame) throws Exception Implements abstract io. Doc from io. Decodes a SPDY Header Block, adding the Name/Value pairs to the given Headers frame. If the header block is malformed, the Headers frame will be marked as invalid. A stream error with status code PROTOCOL_ERROR must be issued in response to an invalid frame.
| |
| decodeHeaderBlock | back to summary |
|---|---|
| protected void decodeHeaderBlock(ByteBuf headerBlock, SpdyHeadersFrame frame) throws Exception | |
| end | back to summary |
|---|---|
| pack-priv void end() Implements abstract io.
| |
| endHeaderBlock | back to summary |
|---|---|
| pack-priv void endHeaderBlock(SpdyHeadersFrame frame) throws Exception Implements abstract io.
| |
| readLengthField | back to summary |
|---|---|
| private static int readLengthField(ByteBuf buffer) | |
| releaseBuffer | back to summary |
|---|---|
| private void releaseBuffer() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final SpdyHeaderBlockRawDecoder. | |
| public static final SpdyHeaderBlockRawDecoder. | |
| public static final SpdyHeaderBlockRawDecoder. | |
| public static final SpdyHeaderBlockRawDecoder. | |
| public static final SpdyHeaderBlockRawDecoder. | |
| public static final SpdyHeaderBlockRawDecoder. | |
| public static final SpdyHeaderBlockRawDecoder. | |
| public static final SpdyHeaderBlockRawDecoder. | |
| public static final SpdyHeaderBlockRawDecoder. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SpdyHeaderBlockRawDecoder. | |
| public static SpdyHeaderBlockRawDecoder. |
| END_HEADER_BLOCK | back to summary |
|---|---|
| public static final SpdyHeaderBlockRawDecoder. | |
| ERROR | back to summary |
|---|---|
| public static final SpdyHeaderBlockRawDecoder. | |
| READ_NAME | back to summary |
|---|---|
| public static final SpdyHeaderBlockRawDecoder. | |
| READ_NAME_LENGTH | back to summary |
|---|---|
| public static final SpdyHeaderBlockRawDecoder. | |
| READ_NUM_HEADERS | back to summary |
|---|---|
| public static final SpdyHeaderBlockRawDecoder. | |
| READ_VALUE | back to summary |
|---|---|
| public static final SpdyHeaderBlockRawDecoder. | |
| READ_VALUE_LENGTH | back to summary |
|---|---|
| public static final SpdyHeaderBlockRawDecoder. | |
| SKIP_NAME | back to summary |
|---|---|
| public static final SpdyHeaderBlockRawDecoder. | |
| SKIP_VALUE | back to summary |
|---|---|
| public static final SpdyHeaderBlockRawDecoder. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static SpdyHeaderBlockRawDecoder. | |
| values | back to summary |
|---|---|
| public static SpdyHeaderBlockRawDecoder. | |