Home / Function/ HpackEncoder() — netty Function Reference

HpackEncoder() — netty Function Reference

Architecture documentation for the HpackEncoder() function in HpackUtilBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  2a679bc3_c774_a6d8_2d4f_3ce419720ebc["HpackEncoder()"]
  6fbca480_1d41_a552_c2e8_0045d9099068["HpackUtilBenchmark"]
  2a679bc3_c774_a6d8_2d4f_3ce419720ebc -->|defined in| 6fbca480_1d41_a552_c2e8_0045d9099068
  style 2a679bc3_c774_a6d8_2d4f_3ce419720ebc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/handler/codec/http2/HpackUtilBenchmark.java lines 100–112

    static HpackEncoder newTestEncoder() {
        HpackEncoder hpackEncoder = new HpackEncoder();
        ByteBuf buf = Unpooled.buffer();
        try {
            hpackEncoder.setMaxHeaderTableSize(buf, MAX_HEADER_TABLE_SIZE);
            hpackEncoder.setMaxHeaderListSize(MAX_HEADER_LIST_SIZE);
        } catch (Http2Exception e) {
            throw new Error("max size not allowed?", e);
        } finally  {
            buf.release();
        }
        return hpackEncoder;
    }

Domain

Subdomains

Frequently Asked Questions

What does HpackEncoder() do?
HpackEncoder() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http2/HpackUtilBenchmark.java.
Where is HpackEncoder() defined?
HpackEncoder() is defined in microbench/src/main/java/io/netty/handler/codec/http2/HpackUtilBenchmark.java at line 100.

Analyze Your Own Codebase

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

Try Supermodel Free