Home / Function/ testCustomHeaders() — netty Function Reference

testCustomHeaders() — netty Function Reference

Architecture documentation for the testCustomHeaders() function in HttpProxyHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  85234e40_5708_19e4_5538_103e27ff78ec["testCustomHeaders()"]
  4863804c_b04f_6a7f_744b_534e664fa2c9["HttpProxyHandlerTest"]
  85234e40_5708_19e4_5538_103e27ff78ec -->|defined in| 4863804c_b04f_6a7f_744b_534e664fa2c9
  28ef3cf9_cc4c_2f0a_2918_784cd7fbebca["testInitialMessage()"]
  85234e40_5708_19e4_5538_103e27ff78ec -->|calls| 28ef3cf9_cc4c_2f0a_2918_784cd7fbebca
  style 85234e40_5708_19e4_5538_103e27ff78ec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler-proxy/src/test/java/io/netty/handler/proxy/HttpProxyHandlerTest.java lines 166–177

    @Test
    public void testCustomHeaders() throws Exception {
        InetSocketAddress socketAddress = InetSocketAddress.createUnresolved("10.0.0.1", 8080);
        testInitialMessage(
                socketAddress,
                "10.0.0.1:8080",
                "10.0.0.1:8080",
                new DefaultHttpHeaders()
                        .add("CUSTOM_HEADER", "CUSTOM_VALUE1")
                        .add("CUSTOM_HEADER", "CUSTOM_VALUE2"),
                true);
    }

Domain

Subdomains

Frequently Asked Questions

What does testCustomHeaders() do?
testCustomHeaders() is a function in the netty codebase, defined in handler-proxy/src/test/java/io/netty/handler/proxy/HttpProxyHandlerTest.java.
Where is testCustomHeaders() defined?
testCustomHeaders() is defined in handler-proxy/src/test/java/io/netty/handler/proxy/HttpProxyHandlerTest.java at line 166.
What does testCustomHeaders() call?
testCustomHeaders() calls 1 function(s): testInitialMessage.

Analyze Your Own Codebase

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

Try Supermodel Free