| Modifier and Type | Class and Description |
|---|---|
| public static interface | |
| pack-priv class | QpackDecoder.
This delivers notifications from the DecoderInstruction parser directly into the Decoder. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private LongSupplier | |
| private final Map | |
| private final QpackContext | |
| private final List | |
| private final Instruction. | |
| private final QpackDecoder. | |
| private final List | |
| private final NBitIntegerDecoder | |
| private int | |
| private int | |
| private int | |
| private final List | |
| private final DecoderInstructionParser | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public boolean | Returns: true if the MetaData could be decoded immediately without requiring addition state in the DynamicTable.the stream ID corresponding to this headers frame. streamId, ByteBuffer the content of the headers frame. buffer, QpackDecoder.a handler that is invoked when the MetaData is able to be decoded. handlerDecode a buffer into a |
| private static int | |
| public void | dump(Appendable out, String indent)
Implements org. Dump this object (and children) into an Appendable using the provided indent after any new lines. |
| pack-priv QpackDecoder. | |
| public int | |
| public int | |
| public int | |
| pack-priv QpackContext | |
| private void | |
| private void | |
| public void | parseInstructions(ByteBuffer
a buffer containing bytes from the Encoder stream. buffer)Parse instructions from the Encoder stream. |
| public void | |
| public void | |
| public void | setMaxHeadersSize(int
The maximum allowed size of a headers block, expressed as total of all name and value characters, plus 32 per field maxHeadersSize)
|
| public void | |
| public void | streamCancellation(long
the streamId of the stream that was cancelled. streamId)Tells the |
| public String |
| _beginNanoTimeSupplier | back to summary |
|---|---|
| private LongSupplier _beginNanoTimeSupplier | |
| _blockedStreams | back to summary |
|---|---|
| private final Map<Long, AtomicInteger> _blockedStreams | |
| _context | back to summary |
|---|---|
| private final QpackContext _context | |
| _encodedFieldSections | back to summary |
|---|---|
| private final List<EncodedFieldSection> _encodedFieldSections | |
| _handler | back to summary |
|---|---|
| private final Instruction. | |
| _instructionHandler | back to summary |
|---|---|
| private final QpackDecoder. | |
| _instructions | back to summary |
|---|---|
| private final List<Instruction> _instructions | |
| _integerDecoder | back to summary |
|---|---|
| private final NBitIntegerDecoder _integerDecoder | |
| _maxBlockedStreams | back to summary |
|---|---|
| private int _maxBlockedStreams | |
| _maxHeadersSize | back to summary |
|---|---|
| private int _maxHeadersSize | |
| _maxTableCapacity | back to summary |
|---|---|
| private int _maxTableCapacity | |
| _metaDataNotifications | back to summary |
|---|---|
| private final List<QpackDecoder. | |
| _parser | back to summary |
|---|---|
| private final DecoderInstructionParser _parser | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| QpackDecoder | back to summary |
|---|---|
| public QpackDecoder(Instruction. | |
| checkEncodedFieldSections | back to summary |
|---|---|
| private void checkEncodedFieldSections() throws QpackException | |
| decode | back to summary |
|---|---|
| public boolean decode(long streamId, ByteBuffer buffer, QpackDecoder. Decode a buffer into a This method may generate instructions to be sent back over the Decoder stream to the remote Encoder.
| |
| decodeInsertCount | back to summary |
|---|---|
| private static int decodeInsertCount(int encInsertCount, int totalNumInserts, int maxTableCapacity) throws QpackException | |
| dump | back to summary |
|---|---|
| public void dump(Appendable out, String indent) throws IOException Implements org. Doc from org. Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
| |
| getInstructionHandler | back to summary |
|---|---|
| pack-priv QpackDecoder. | |
| getMaxBlockedStreams | back to summary |
|---|---|
| public int getMaxBlockedStreams() | |
| getMaxHeadersSize | back to summary |
|---|---|
| public int getMaxHeadersSize() | |
| getMaxTableCapacity | back to summary |
|---|---|
| public int getMaxTableCapacity() | |
| getQpackContext | back to summary |
|---|---|
| pack-priv QpackContext getQpackContext() | |
| notifyInstructionHandler | back to summary |
|---|---|
| private void notifyInstructionHandler() | |
| notifyMetaDataHandler | back to summary |
|---|---|
| private void notifyMetaDataHandler(boolean wasBlocked) | |
| parseInstructions | back to summary |
|---|---|
| public void parseInstructions(ByteBuffer buffer) throws SessionException Parse instructions from the Encoder stream. The Encoder stream carries an unframed sequence of instructions from
the Encoder to the Decoder. This method will fully consume the supplied
| |
| setBeginNanoTimeSupplier | back to summary |
|---|---|
| public void setBeginNanoTimeSupplier(LongSupplier beginNanoTimeSupplier) | |
| setMaxBlockedStreams | back to summary |
|---|---|
| public void setMaxBlockedStreams(int maxBlockedStreams) | |
| setMaxHeadersSize | back to summary |
|---|---|
public void setMaxHeadersSize(int maxHeadersSize)
| |
| setMaxTableCapacity | back to summary |
|---|---|
| public void setMaxTableCapacity(int maxTableCapacity) | |
| streamCancellation | back to summary |
|---|---|
| public void streamCancellation(long streamId) Tells the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| onMetaData | back to summary |
|---|---|
| public void onMetaData(long streamId, MetaData metadata, boolean wasBlocked) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | onInsertNameWithReference(int nameIndex, boolean isDynamicTableIndex, String value)
Implements org.
|
| public void | |
| public void |
| InstructionHandler | back to summary |
|---|---|
| pack-priv InstructionHandler() | |
| onDuplicate | back to summary |
|---|---|
| public void onDuplicate(int index) throws QpackException Implements org.
| |
| onInsertNameWithReference | back to summary |
|---|---|
| public void onInsertNameWithReference(int nameIndex, boolean isDynamicTableIndex, String value) throws QpackException Implements org.
| |
| onInsertWithLiteralName | back to summary |
|---|---|
| public void onInsertWithLiteralName(String name, String value) throws QpackException Implements org.
| |
| onSetDynamicTableCapacity | back to summary |
|---|---|
| public void onSetDynamicTableCapacity(int capacity) throws QpackException Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final QpackDecoder. | |
| private final MetaData | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| _handler | back to summary |
|---|---|
| private final QpackDecoder. | |
| _metaData | back to summary |
|---|---|
| private final MetaData _metaData | |
| _streamId | back to summary |
|---|---|
| private final long _streamId | |
| MetaDataNotification | back to summary |
|---|---|
| public MetaDataNotification(long streamId, MetaData metaData, QpackDecoder. | |
| notifyHandler | back to summary |
|---|---|
| public void notifyHandler(boolean wasBlocked) | |