Home / Function/ testGetOperations() — netty Function Reference

testGetOperations() — netty Function Reference

Architecture documentation for the testGetOperations() function in HttpHeadersTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a71ee370_08f9_df71_f8d5_91b2d81dc66d["testGetOperations()"]
  37d2d3ee_df05_c9d3_2b70_220a829fec9e["HttpHeadersTest"]
  a71ee370_08f9_df71_f8d5_91b2d81dc66d -->|defined in| 37d2d3ee_df05_c9d3_2b70_220a829fec9e
  style a71ee370_08f9_df71_f8d5_91b2d81dc66d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpHeadersTest.java lines 42–54

    @Test
    public void testGetOperations() {
        HttpHeaders headers = new DefaultHttpHeaders();
        headers.add(of("Foo"), of("1"));
        headers.add(of("Foo"), of("2"));

        assertEquals("1", headers.get(of("Foo")));

        List<String> values = headers.getAll(of("Foo"));
        assertEquals(2, values.size());
        assertEquals("1", values.get(0));
        assertEquals("2", values.get(1));
    }

Domain

Subdomains

Frequently Asked Questions

What does testGetOperations() do?
testGetOperations() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpHeadersTest.java.
Where is testGetOperations() defined?
testGetOperations() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpHeadersTest.java at line 42.

Analyze Your Own Codebase

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

Try Supermodel Free