Home / Function/ setAllShouldOverwriteSomeAndLeaveOthersUntouched() — netty Function Reference

setAllShouldOverwriteSomeAndLeaveOthersUntouched() — netty Function Reference

Architecture documentation for the setAllShouldOverwriteSomeAndLeaveOthersUntouched() function in DefaultHeadersTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  326f974c_755e_d2ee_f353_0a7fc9afe910["setAllShouldOverwriteSomeAndLeaveOthersUntouched()"]
  0eee3d0f_600b_7083_6b8d_273d78e59928["DefaultHeadersTest"]
  326f974c_755e_d2ee_f353_0a7fc9afe910 -->|defined in| 0eee3d0f_600b_7083_6b8d_273d78e59928
  style 326f974c_755e_d2ee_f353_0a7fc9afe910 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-base/src/test/java/io/netty/handler/codec/DefaultHeadersTest.java lines 385–408

    @Test
    public void setAllShouldOverwriteSomeAndLeaveOthersUntouched() {
        TestDefaultHeaders h1 = newInstance();

        h1.add(of("name1"), of("value1"));
        h1.add(of("name2"), of("value2"));
        h1.add(of("name2"), of("value3"));
        h1.add(of("name3"), of("value4"));

        TestDefaultHeaders h2 = newInstance();
        h2.add(of("name1"), of("value5"));
        h2.add(of("name2"), of("value6"));
        h2.add(of("name1"), of("value7"));

        TestDefaultHeaders expected = newInstance();
        expected.add(of("name1"), of("value5"));
        expected.add(of("name2"), of("value6"));
        expected.add(of("name1"), of("value7"));
        expected.add(of("name3"), of("value4"));

        h1.setAll(h2);

        assertEquals(expected, h1);
    }

Domain

Subdomains

Frequently Asked Questions

What does setAllShouldOverwriteSomeAndLeaveOthersUntouched() do?
setAllShouldOverwriteSomeAndLeaveOthersUntouched() is a function in the netty codebase, defined in codec-base/src/test/java/io/netty/handler/codec/DefaultHeadersTest.java.
Where is setAllShouldOverwriteSomeAndLeaveOthersUntouched() defined?
setAllShouldOverwriteSomeAndLeaveOthersUntouched() is defined in codec-base/src/test/java/io/netty/handler/codec/DefaultHeadersTest.java at line 385.

Analyze Your Own Codebase

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

Try Supermodel Free