Home / Function/ headerValuesAllowObsTextInNonFirstChar() — netty Function Reference

headerValuesAllowObsTextInNonFirstChar() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoderTest.java lines 265–278

    @ParameterizedTest
    @MethodSource("validObsText")
    void headerValuesAllowObsTextInNonFirstChar(int i) throws Exception {
        final DefaultHttp2HeadersDecoder decoder = new DefaultHttp2HeadersDecoder(true);
        ByteBuf buf = null;
        try {
            byte[] bytes = {(byte) 'a', (byte) i};
            buf = encode(b(":method"), b("GET"), b("test_header"), bytes);
            Http2Headers headers = decoder.decodeHeaders(1, buf); // This must not throw.
            assertThat(headers.get("test_header")).isEqualTo(new AsciiString(bytes));
        } finally {
            ReferenceCountUtil.release(buf);
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free