| Modifier and Type | Field and Description |
|---|---|
| private ByteBuf | |
| private final Inflater | |
| private static final int | |
| private static final SpdyProtocolException |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| 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)Overrides io. |
| private int | |
| public void | |
| pack-priv void | |
| private void | |
| private void | |
| private int |
| decompressed | back to summary |
|---|---|
| private ByteBuf decompressed | |
| decompressor | back to summary |
|---|---|
| private final Inflater decompressor | |
| DEFAULT_BUFFER_CAPACITY | back to summary |
|---|---|
| private static final int DEFAULT_BUFFER_CAPACITY | |
| INVALID_HEADER_BLOCK | back to summary |
|---|---|
| private static final SpdyProtocolException INVALID_HEADER_BLOCK | |
| SpdyHeaderBlockZlibDecoder | back to summary |
|---|---|
| pack-priv SpdyHeaderBlockZlibDecoder(SpdyVersion spdyVersion, int maxHeaderSize) | |
| decode | back to summary |
|---|---|
| pack-priv void decode(ByteBufAllocator alloc, ByteBuf headerBlock, SpdyHeadersFrame frame) throws Exception Overrides 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.
| |
| decompress | back to summary |
|---|---|
| private int decompress(ByteBufAllocator alloc, SpdyHeadersFrame frame) throws Exception | |
| end | back to summary |
|---|---|
| public void end() Overrides io.
| |
| endHeaderBlock | back to summary |
|---|---|
| pack-priv void endHeaderBlock(SpdyHeadersFrame frame) throws Exception Overrides io.
| |
| ensureBuffer | back to summary |
|---|---|
| private void ensureBuffer(ByteBufAllocator alloc) | |
| releaseBuffer | back to summary |
|---|---|
| private void releaseBuffer() Hides io. | |
| setInput | back to summary |
|---|---|
| private int setInput(ByteBuf compressed) | |