Home / Function/ staticTableOnly() — netty Function Reference

staticTableOnly() — netty Function Reference

Architecture documentation for the staticTableOnly() function in QpackEncoderDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b774b554_6eff_2093_126f_daa68cea8d0b["staticTableOnly()"]
  a2f105b8_5272_f106_c6ff_e4604fde3ee0["QpackEncoderDecoderTest"]
  b774b554_6eff_2093_126f_daa68cea8d0b -->|defined in| a2f105b8_5272_f106_c6ff_e4604fde3ee0
  8b7d68af_ce51_4e48_b8d7_ce72fd007482["setup()"]
  b774b554_6eff_2093_126f_daa68cea8d0b -->|calls| 8b7d68af_ce51_4e48_b8d7_ce72fd007482
  dbadf5dd_759e_9666_c044_b830bfb006e7["encode()"]
  b774b554_6eff_2093_126f_daa68cea8d0b -->|calls| dbadf5dd_759e_9666_c044_b830bfb006e7
  879f268a_79d6_4e84_4dcc_69e8fceb5059["decode()"]
  b774b554_6eff_2093_126f_daa68cea8d0b -->|calls| 879f268a_79d6_4e84_4dcc_69e8fceb5059
  b0e13fad_f554_d84c_38f4_40a57d570d8a["verifyDecodedHeader()"]
  b774b554_6eff_2093_126f_daa68cea8d0b -->|calls| b0e13fad_f554_d84c_38f4_40a57d570d8a
  style b774b554_6eff_2093_126f_daa68cea8d0b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/test/java/io/netty/handler/codec/http3/QpackEncoderDecoderTest.java lines 379–398

    @Test
    public void staticTableOnly() throws Exception {
        setup(0, 0);

        encHeaders.add(":authority", "netty.quic"); // name only
        encHeaders.add(":path", "/"); // name & value
        encHeaders.add(":method", "GET"); // name & value with few options per name
        encHeaders.add(":status", "417"); // name & multiple values but value is missing
        encHeaders.add("x-qpack-draft", "19");

        encode(out, encHeaders);
        decode(out, decHeaders);

        assertThat(decHeaders.size(), is(5));
        verifyDecodedHeader(":authority", "netty.quic");
        verifyDecodedHeader(":path", "/");
        verifyDecodedHeader(":method", "GET");
        verifyDecodedHeader(":status", "417");
        verifyDecodedHeader("x-qpack-draft", "19");
    }

Domain

Subdomains

Frequently Asked Questions

What does staticTableOnly() do?
staticTableOnly() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackEncoderDecoderTest.java.
Where is staticTableOnly() defined?
staticTableOnly() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackEncoderDecoderTest.java at line 379.
What does staticTableOnly() call?
staticTableOnly() calls 4 function(s): decode, encode, setup, verifyDecodedHeader.

Analyze Your Own Codebase

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

Try Supermodel Free