Home / Function/ testPseudoHeaderEmptyValidationDisabled() — netty Function Reference

testPseudoHeaderEmptyValidationDisabled() — netty Function Reference

Architecture documentation for the testPseudoHeaderEmptyValidationDisabled() function in HpackDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f45bb01e_1eb8_acfa_1bd3_988138cf872b["testPseudoHeaderEmptyValidationDisabled()"]
  499468ca_3853_024b_2b80_17090ef6cd43["HpackDecoderTest"]
  f45bb01e_1eb8_acfa_1bd3_988138cf872b -->|defined in| 499468ca_3853_024b_2b80_17090ef6cd43
  47ac4151_0b50_9884_0d18_472d1c51065d["decode()"]
  f45bb01e_1eb8_acfa_1bd3_988138cf872b -->|calls| 47ac4151_0b50_9884_0d18_472d1c51065d
  style f45bb01e_1eb8_acfa_1bd3_988138cf872b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java lines 893–911

    @ParameterizedTest
    @CsvSource(value = {":method,''", ":scheme,''", ":authority,''", ":path,''"})
    public void testPseudoHeaderEmptyValidationDisabled(String name, String value) throws Exception {
        final ByteBuf in = Unpooled.buffer(200);
        try {
            HpackEncoder hpackEncoder = new HpackEncoder(true);

            Http2Headers toEncode = new InOrderHttp2Headers();
            toEncode.add(name, value);
            hpackEncoder.encodeHeaders(1, in, toEncode, NEVER_SENSITIVE);

            final Http2Headers decoded = new DefaultHttp2Headers(false);
            hpackDecoder.decode(3, in, decoded, true);

            assertSame(AsciiString.EMPTY_STRING, decoded.get(name));
        } finally {
            in.release();
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does testPseudoHeaderEmptyValidationDisabled() do?
testPseudoHeaderEmptyValidationDisabled() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java.
Where is testPseudoHeaderEmptyValidationDisabled() defined?
testPseudoHeaderEmptyValidationDisabled() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackDecoderTest.java at line 893.
What does testPseudoHeaderEmptyValidationDisabled() call?
testPseudoHeaderEmptyValidationDisabled() calls 1 function(s): decode.

Analyze Your Own Codebase

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

Try Supermodel Free