Home / Function/ Http2Headers() — netty Function Reference

Http2Headers() — netty Function Reference

Architecture documentation for the Http2Headers() function in Http2HeaderBlockIOTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3dcb4cf3_919d_527d_3792_77b699246b56["Http2Headers()"]
  67a68679_3177_7ad0_91a4_a6521917b637["Http2HeaderBlockIOTest"]
  3dcb4cf3_919d_527d_3792_77b699246b56 -->|defined in| 67a68679_3177_7ad0_91a4_a6521917b637
  style 3dcb4cf3_919d_527d_3792_77b699246b56 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2HeaderBlockIOTest.java lines 90–100

    private static Http2Headers headers() {
        return new DefaultHttp2Headers(false).method(new AsciiString("GET")).scheme(new AsciiString("https"))
        .authority(new AsciiString("example.org")).path(new AsciiString("/some/path/resource2"))
                .add(new AsciiString("accept"), new AsciiString("image/png"))
                .add(new AsciiString("cache-control"), new AsciiString("no-cache"))
                .add(new AsciiString("custom"), new AsciiString("value1"))
                .add(new AsciiString("custom"), new AsciiString("value2"))
                .add(new AsciiString("custom"), new AsciiString("value3"))
                .add(new AsciiString("custom"), new AsciiString("custom4"))
                .add(randomString(), randomString());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free