decoderThrowsOnInvalidInput() — netty Function Reference
Architecture documentation for the decoderThrowsOnInvalidInput() function in QpackEncoderDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 507a145e_564d_e526_8c27_e8769b809efe["decoderThrowsOnInvalidInput()"] a2f105b8_5272_f106_c6ff_e4604fde3ee0["QpackEncoderDecoderTest"] 507a145e_564d_e526_8c27_e8769b809efe -->|defined in| a2f105b8_5272_f106_c6ff_e4604fde3ee0 8b7d68af_ce51_4e48_b8d7_ce72fd007482["setup()"] 507a145e_564d_e526_8c27_e8769b809efe -->|calls| 8b7d68af_ce51_4e48_b8d7_ce72fd007482 dbadf5dd_759e_9666_c044_b830bfb006e7["encode()"] 507a145e_564d_e526_8c27_e8769b809efe -->|calls| dbadf5dd_759e_9666_c044_b830bfb006e7 879f268a_79d6_4e84_4dcc_69e8fceb5059["decode()"] 507a145e_564d_e526_8c27_e8769b809efe -->|calls| 879f268a_79d6_4e84_4dcc_69e8fceb5059 style 507a145e_564d_e526_8c27_e8769b809efe fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/test/java/io/netty/handler/codec/http3/QpackEncoderDecoderTest.java lines 400–410
@Test
public void decoderThrowsOnInvalidInput() throws Exception {
setup(0, 0);
encHeaders.add(":authority", "netty.quic"); // name only
encode(out, encHeaders);
// Add empty byte to the end of the buffer. This should trigger an exception in the decoder.
out.writeByte(0);
assertThrows(QpackException.class, () -> decode(out, decHeaders));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does decoderThrowsOnInvalidInput() do?
decoderThrowsOnInvalidInput() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackEncoderDecoderTest.java.
Where is decoderThrowsOnInvalidInput() defined?
decoderThrowsOnInvalidInput() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackEncoderDecoderTest.java at line 400.
What does decoderThrowsOnInvalidInput() call?
decoderThrowsOnInvalidInput() calls 3 function(s): decode, encode, setup.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free