Home / Function/ headersEqual() — netty Function Reference

headersEqual() — netty Function Reference

Architecture documentation for the headersEqual() function in HpackTestCase.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d9f2be7a_b72d_658b_a42e_fe82dd297b1f["headersEqual()"]
  7b46bcd3_dbd5_a8a9_21a7_007c98b4f704["HpackTestCase"]
  d9f2be7a_b72d_658b_a42e_fe82dd297b1f -->|defined in| 7b46bcd3_dbd5_a8a9_21a7_007c98b4f704
  5331bda1_436a_69be_b1ec_2d6ae664331b["testCompress()"]
  5331bda1_436a_69be_b1ec_2d6ae664331b -->|calls| d9f2be7a_b72d_658b_a42e_fe82dd297b1f
  55d35e05_80b4_cc85_f837_078146024350["testDecompress()"]
  55d35e05_80b4_cc85_f837_078146024350 -->|calls| d9f2be7a_b72d_658b_a42e_fe82dd297b1f
  style d9f2be7a_b72d_658b_a42e_fe82dd297b1f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/HpackTestCase.java lines 232–242

    private static boolean headersEqual(List<HpackHeaderField> expected, List<HpackHeaderField> actual) {
        if (expected.size() != actual.size()) {
            return false;
        }
        for (int i = 0; i < expected.size(); i++) {
            if (!expected.get(i).equalsForTest(actual.get(i))) {
                return false;
            }
        }
        return true;
    }

Domain

Subdomains

Frequently Asked Questions

What does headersEqual() do?
headersEqual() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackTestCase.java.
Where is headersEqual() defined?
headersEqual() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/HpackTestCase.java at line 232.
What calls headersEqual()?
headersEqual() is called by 2 function(s): testCompress, testDecompress.

Analyze Your Own Codebase

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

Try Supermodel Free