| Modifier and Type | Field and Description |
|---|---|
| private RetainableByteBuffer | |
| private final ByteBufferPool | |
| private final HeaderParser | |
| private final HpackDecoder | |
| private static final Logger | |
| private final BodyParser | |
| public static final MetaData | |
| public static final MetaData |
| Access | Constructor and Description |
|---|---|
| public | HeaderBlockParser(HeaderParser headerParser, ByteBufferPool bufferPool, HpackDecoder hpackDecoder, BodyParser notifier)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public MetaData | Returns: null, if the buffer contains less thanblockLength bytes;
STREAM_FAILURE if parsing the HPACK block produced a stream failure;
SESSION_FAILURE if parsing the HPACK block produced a session failure;
a valid MetaData object if the parsing was successful.the buffer to parse buffer, int the length of the HPACK block blockLength)Parses @{code blockLength} HPACK bytes from the given |
| blockBuffer | back to summary |
|---|---|
| private RetainableByteBuffer blockBuffer | |
| bufferPool | back to summary |
|---|---|
| private final ByteBufferPool bufferPool | |
| headerParser | back to summary |
|---|---|
| private final HeaderParser headerParser | |
| hpackDecoder | back to summary |
|---|---|
| private final HpackDecoder hpackDecoder | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| notifier | back to summary |
|---|---|
| private final BodyParser notifier | |
| SESSION_FAILURE | back to summary |
|---|---|
| public static final MetaData SESSION_FAILURE | |
| STREAM_FAILURE | back to summary |
|---|---|
| public static final MetaData STREAM_FAILURE | |
| HeaderBlockParser | back to summary |
|---|---|
| public HeaderBlockParser(HeaderParser headerParser, ByteBufferPool bufferPool, HpackDecoder hpackDecoder, BodyParser notifier) | |
| getMaxHeaderListSize | back to summary |
|---|---|
| public int getMaxHeaderListSize() | |
| parse | back to summary |
|---|---|
| public MetaData parse(ByteBuffer buffer, int blockLength) Parses @{code blockLength} HPACK bytes from the given
| |