Home / Function/ encodeLiteralWithNameRefStaticTable() — netty Function Reference

encodeLiteralWithNameRefStaticTable() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  ffdf8c85_1a54_25cb_b4c3_c5e2b4ffe9b9["encodeLiteralWithNameRefStaticTable()"]
  9e578dbc_12be_4439_554b_24e265961ea5["QpackEncoder"]
  ffdf8c85_1a54_25cb_b4c3_c5e2b4ffe9b9 -->|defined in| 9e578dbc_12be_4439_554b_24e265961ea5
  4290254a_d002_4407_68f0_95045618c5ff["encodeHeader()"]
  4290254a_d002_4407_68f0_95045618c5ff -->|calls| ffdf8c85_1a54_25cb_b4c3_c5e2b4ffe9b9
  8c4148c2_fd3d_471d_6dd9_a42039bbcbac["encodeStringLiteral()"]
  ffdf8c85_1a54_25cb_b4c3_c5e2b4ffe9b9 -->|calls| 8c4148c2_fd3d_471d_6dd9_a42039bbcbac
  style ffdf8c85_1a54_25cb_b4c3_c5e2b4ffe9b9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java lines 430–443

    private void encodeLiteralWithNameRefStaticTable(ByteBuf out, int nameIndex, CharSequence value) {
        // https://www.rfc-editor.org/rfc/rfc9204.html#name-literal-field-line-with-nam
        //     0   1   2   3   4   5   6   7
        //   +---+---+---+---+---+---+---+---+
        //   | 0 | 1 | N | T |Name Index (4+)|
        //   +---+---+---+---+---------------+
        //   | H |     Value Length (7+)     |
        //   +---+---------------------------+
        //   |  Value String (Length bytes)  |
        //   +-------------------------------+
        // TODO: Force N = 0 till we support sensitivity detector
        encodePrefixedInteger(out, (byte) 0b0101_0000, 4, nameIndex);
        encodeStringLiteral(out, value);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does encodeLiteralWithNameRefStaticTable() do?
encodeLiteralWithNameRefStaticTable() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java.
Where is encodeLiteralWithNameRefStaticTable() defined?
encodeLiteralWithNameRefStaticTable() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/QpackEncoder.java at line 430.
What does encodeLiteralWithNameRefStaticTable() call?
encodeLiteralWithNameRefStaticTable() calls 1 function(s): encodeStringLiteral.
What calls encodeLiteralWithNameRefStaticTable()?
encodeLiteralWithNameRefStaticTable() is called by 1 function(s): encodeHeader.

Analyze Your Own Codebase

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

Try Supermodel Free