Home / Function/ headerValuesAllowObsTextInFirstChar() — netty Function Reference

headerValuesAllowObsTextInFirstChar() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoderTest.java lines 250–263

    @ParameterizedTest
    @MethodSource("validObsText")
    void headerValuesAllowObsTextInFirstChar(int i) throws Exception {
        final DefaultHttp2HeadersDecoder decoder = new DefaultHttp2HeadersDecoder(true);
        ByteBuf buf = null;
        try {
            byte[] bytes = {(byte) i, 'a'};
            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 headerValuesAllowObsTextInFirstChar() do?
headerValuesAllowObsTextInFirstChar() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoderTest.java.
Where is headerValuesAllowObsTextInFirstChar() defined?
headerValuesAllowObsTextInFirstChar() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2HeadersDecoderTest.java at line 250.

Analyze Your Own Codebase

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

Try Supermodel Free