Home / Function/ sectionAcknowledgment() — netty Function Reference

sectionAcknowledgment() — netty Function Reference

Architecture documentation for the sectionAcknowledgment() function in QpackEncoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e1d12aa6_1484_afa3_2b10_70aeca3d253d["sectionAcknowledgment()"]
  9e578dbc_12be_4439_554b_24e265961ea5["QpackEncoder"]
  e1d12aa6_1484_afa3_2b10_70aeca3d253d -->|defined in| 9e578dbc_12be_4439_554b_24e265961ea5
  70504f22_8dde_e329_ac4d_a33cfef182b5["forEach()"]
  e1d12aa6_1484_afa3_2b10_70aeca3d253d -->|calls| 70504f22_8dde_e329_ac4d_a33cfef182b5
  style e1d12aa6_1484_afa3_2b10_70aeca3d253d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java lines 142–160

    void sectionAcknowledgment(long streamId) throws QpackException {
        assert streamSectionTrackers != null;
        final Queue<Indices> tracker = streamSectionTrackers.get(streamId);
        if (tracker == null) {
            throw INVALID_SECTION_ACKNOWLEDGMENT;
        }

        Indices dynamicTableIndices = tracker.poll();

        if (tracker.isEmpty()) {
            streamSectionTrackers.remove(streamId);
        }

        if (dynamicTableIndices == null) {
            throw INVALID_SECTION_ACKNOWLEDGMENT;
        }

        dynamicTableIndices.forEach(dynamicTable::acknowledgeInsertCountOnAck);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does sectionAcknowledgment() do?
sectionAcknowledgment() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java.
Where is sectionAcknowledgment() defined?
sectionAcknowledgment() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java at line 142.
What does sectionAcknowledgment() call?
sectionAcknowledgment() calls 1 function(s): forEach.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free