Home / Function/ headerValuesAllowSpaceAfterFirstCharacter() — netty Function Reference

headerValuesAllowSpaceAfterFirstCharacter() — netty Function Reference

Architecture documentation for the headerValuesAllowSpaceAfterFirstCharacter() function in DefaultHttp2HeadersDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e926fa05_770d_b228_34e5_d168dd2daa3a["headerValuesAllowSpaceAfterFirstCharacter()"]
  bddf27d1_0dcd_a270_e076_3c8aa8b9b31f["DefaultHttp2HeadersDecoderTest"]
  e926fa05_770d_b228_34e5_d168dd2daa3a -->|defined in| bddf27d1_0dcd_a270_e076_3c8aa8b9b31f
  style e926fa05_770d_b228_34e5_d168dd2daa3a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoderTest.java lines 216–227

    @Test
    public void headerValuesAllowSpaceAfterFirstCharacter() throws Exception {
        final DefaultHttp2HeadersDecoder decoder = new DefaultHttp2HeadersDecoder(true);
        ByteBuf buf = null;
        try {
            buf = encode(b(":method"), b("GET"), b("test_header"), b("a b"));
            Http2Headers headers = decoder.decodeHeaders(1, buf); // This must not throw.
            assertThat(headers.get("test_header")).isEqualToIgnoringCase("a b");
        } finally {
            ReferenceCountUtil.release(buf);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does headerValuesAllowSpaceAfterFirstCharacter() do?
headerValuesAllowSpaceAfterFirstCharacter() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoderTest.java.
Where is headerValuesAllowSpaceAfterFirstCharacter() defined?
headerValuesAllowSpaceAfterFirstCharacter() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoderTest.java at line 216.

Analyze Your Own Codebase

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

Try Supermodel Free