| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final QpackContext | |
| private final Instruction. | |
| private final QpackEncoder. | |
| private final List | |
| private int | |
| private int | |
| private int | |
| private int | |
| private final EncoderInstructionParser | |
| private final Map | |
| public static final EnumSet | |
| public static final EnumSet | |
| private final AutoLock | |
| private static final Logger | |
| public static final EnumSet |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| public void | encode(ByteBuffer
the buffer to take the bytes of the encoded buffer, long MetaData.the stream ID corresponding to this headers frame. streamId, MetaData the metadata)MetaData to encode into the buffer.Encodes a |
| private EncodableEntry | |
| private static int | |
| pack-priv QpackEncoder. | |
| public int | |
| public int | |
| public int | |
| pack-priv Map | |
| public int | |
| public boolean | |
| private void | |
| public void | parseInstructions(ByteBuffer
a buffer containing bytes from the Decoder stream. buffer)Parse instructions from the Decoder stream. |
| private boolean | |
| public void | |
| public void | |
| public void | |
| public void | setTableCapacity(int
the new capacity. capacity)Set the capacity of the DynamicTable and send a instruction to set the capacity on the remote Decoder. |
| protected boolean | |
| protected boolean | |
| public void | streamCancellation(long
the streamId of the stream that was cancelled. streamId)Tells the |
| _blockedStreams | back to summary |
|---|---|
| private int _blockedStreams | |
| _context | back to summary |
|---|---|
| private final QpackContext _context | |
| _handler | back to summary |
|---|---|
| private final Instruction. | |
| _instructionHandler | back to summary |
|---|---|
| private final QpackEncoder. | |
| _instructions | back to summary |
|---|---|
| private final List<Instruction> _instructions | |
| _knownInsertCount | back to summary |
|---|---|
| private int _knownInsertCount | |
| _maxBlockedStreams | back to summary |
|---|---|
| private int _maxBlockedStreams | |
| _maxHeadersSize | back to summary |
|---|---|
| private int _maxHeadersSize | |
| _maxTableCapacity | back to summary |
|---|---|
| private int _maxTableCapacity | |
| _parser | back to summary |
|---|---|
| private final EncoderInstructionParser _parser | |
| _streamInfoMap | back to summary |
|---|---|
| private final Map<Long, StreamInfo> _streamInfoMap | |
| DO_NOT_HUFFMAN | back to summary |
|---|---|
| public static final EnumSet<HttpHeader> DO_NOT_HUFFMAN | |
| DO_NOT_INDEX | back to summary |
|---|---|
| public static final EnumSet<HttpHeader> DO_NOT_INDEX | |
| lock | back to summary |
|---|---|
| private final AutoLock lock | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| NEVER_INDEX | back to summary |
|---|---|
| public static final EnumSet<HttpHeader> NEVER_INDEX | |
| QpackEncoder | back to summary |
|---|---|
| public QpackEncoder(Instruction. | |
| 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.
| |
| encode | back to summary |
|---|---|
| public void encode(ByteBuffer buffer, long streamId, MetaData metadata) throws QpackException Encodes a This method may generate instructions to be sent back over the Encoder stream to the remote Decoder. The given
| |
| encode | back to summary |
|---|---|
| private EncodableEntry encode(StreamInfo streamInfo, HttpField field) | |
| encodeInsertCount | back to summary |
|---|---|
| private static int encodeInsertCount(int reqInsertCount, int maxTableCapacity) | |
| getInstructionHandler | back to summary |
|---|---|
| pack-priv QpackEncoder. | |
| getMaxBlockedStreams | back to summary |
|---|---|
| public int getMaxBlockedStreams() | |
| getMaxHeadersSize | back to summary |
|---|---|
| public int getMaxHeadersSize() | |
| getMaxTableCapacity | back to summary |
|---|---|
| public int getMaxTableCapacity() | |
| getStreamInfoMap | back to summary |
|---|---|
| pack-priv Map | |
| getTableCapacity | back to summary |
|---|---|
| public int getTableCapacity() | |
| insert | back to summary |
|---|---|
| public boolean insert(HttpField field) A speculative insert of a Header into the Encoders Dynamic Table. This will also generate an instruction to be sent over the Encoder stream to the remote Decoder.
| |
| notifyInstructionHandler | back to summary |
|---|---|
| private void notifyInstructionHandler() | |
| parseInstructions | back to summary |
|---|---|
| public void parseInstructions(ByteBuffer buffer) throws QpackException Parse instructions from the Decoder stream. The Decoder stream carries an unframed sequence of instructions from
the Decoder to the Encoder. This method will fully consume the supplied
| |
| referenceEntry | back to summary |
|---|---|
| private boolean referenceEntry(Entry entry, StreamInfo streamInfo) | |
| 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) | |
| setTableCapacity | back to summary |
|---|---|
| public void setTableCapacity(int capacity) Set the capacity of the DynamicTable and send a instruction to set the capacity on the remote Decoder.
| |
| shouldHuffmanEncode | back to summary |
|---|---|
| protected boolean shouldHuffmanEncode(HttpField httpField) | |
| shouldIndex | back to summary |
|---|---|
| protected boolean shouldIndex(HttpField httpField) | |
| streamCancellation | back to summary |
|---|---|
| public void streamCancellation(long streamId) Tells the
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void |
| InstructionHandler | back to summary |
|---|---|
| pack-priv InstructionHandler() | |
| onInsertCountIncrement | back to summary |
|---|---|
| public void onInsertCountIncrement(int increment) throws QpackException Implements org.
| |
| onSectionAcknowledgement | back to summary |
|---|---|
| public void onSectionAcknowledgement(long streamId) throws QpackException Implements org.
| |
| onStreamCancellation | back to summary |
|---|---|
| public void onStreamCancellation(long streamId) Implements org.
| |