Package io.netty.handler.codec.http3
Interface QpackDecoderStateSyncStrategy
-
public interface QpackDecoderStateSyncStrategyA strategy that determines when to send acknowledgment of new table entries on the QPACK decoder stream.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static QpackDecoderStateSyncStrategyackEachInsert()Returns aQpackDecoderStateSyncStrategythat will acknowledge each entry added viaentryAdded(int)unless a priorsectionAcknowledged(int)call has implicitly acknowledged the addition.booleanentryAdded(int insertCount)When a header field entry is added to the decoder dynamic table.voidsectionAcknowledged(int requiredInsertCount)Callback when an encoded header field section is decoded successfully by the decoder.
-
-
-
Method Detail
-
sectionAcknowledged
void sectionAcknowledged(int requiredInsertCount)
Callback when an encoded header field section is decoded successfully by the decoder.- Parameters:
requiredInsertCount- for the encoded field section.
-
entryAdded
boolean entryAdded(int insertCount)
When a header field entry is added to the decoder dynamic table.- Parameters:
insertCount- for the entry.- Returns:
trueif an insert count increment decoder instruction should be sent.
-
ackEachInsert
static QpackDecoderStateSyncStrategy ackEachInsert()
Returns aQpackDecoderStateSyncStrategythat will acknowledge each entry added viaentryAdded(int)unless a priorsectionAcknowledged(int)call has implicitly acknowledged the addition.- Returns:
- A
QpackDecoderStateSyncStrategythat will acknowledge each entry added viaentryAdded(int)unless a priorsectionAcknowledged(int)call has implicitly acknowledged the addition.
-
-