Home / Function/ testContentLengthAndTransferEncodingHeadersWithInvalidSeparator() — netty Function Reference

testContentLengthAndTransferEncodingHeadersWithInvalidSeparator() — netty Function Reference

Architecture documentation for the testContentLengthAndTransferEncodingHeadersWithInvalidSeparator() function in HttpRequestDecoderTest.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  ff79e05b_e9cd_54e7_0655_5d9980d7b1ad["testContentLengthAndTransferEncodingHeadersWithInvalidSeparator()"]
  514322d5_436a_d1ac_6240_1f9cf42934a4["HttpRequestDecoderTest"]
  ff79e05b_e9cd_54e7_0655_5d9980d7b1ad -->|defined in| 514322d5_436a_d1ac_6240_1f9cf42934a4
  8c9616c9_6efa_111c_23fb_926a44c556d8["testContentLengthAndTransferEncodingHeadersWithVerticalTab()"]
  8c9616c9_6efa_111c_23fb_926a44c556d8 -->|calls| ff79e05b_e9cd_54e7_0655_5d9980d7b1ad
  9e9fc765_9cc9_60d2_b985_bae2850b57ad["testContentLengthAndTransferEncodingHeadersWithCR()"]
  9e9fc765_9cc9_60d2_b985_bae2850b57ad -->|calls| ff79e05b_e9cd_54e7_0655_5d9980d7b1ad
  09b68b29_7f9b_974c_84e2_6dbc49644974["testInvalidHeaders0()"]
  ff79e05b_e9cd_54e7_0655_5d9980d7b1ad -->|calls| 09b68b29_7f9b_974c_84e2_6dbc49644974
  style ff79e05b_e9cd_54e7_0655_5d9980d7b1ad fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestDecoderTest.java lines 606–616

    private static void testContentLengthAndTransferEncodingHeadersWithInvalidSeparator(
            char separator, boolean extraLine) {
        String requestStr = "POST / HTTP/1.1\r\n" +
                "Host: example.com\r\n" +
                "Connection: close\r\n" +
                "Content-Length: 9\r\n" +
                "Transfer-Encoding:" + separator + "chunked\r\n\r\n" +
                (extraLine ? "0\r\n\r\n" : "") +
                "something\r\n\r\n";
        testInvalidHeaders0(requestStr);
    }

Domain

Subdomains

Frequently Asked Questions

What does testContentLengthAndTransferEncodingHeadersWithInvalidSeparator() do?
testContentLengthAndTransferEncodingHeadersWithInvalidSeparator() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestDecoderTest.java.
Where is testContentLengthAndTransferEncodingHeadersWithInvalidSeparator() defined?
testContentLengthAndTransferEncodingHeadersWithInvalidSeparator() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestDecoderTest.java at line 606.
What does testContentLengthAndTransferEncodingHeadersWithInvalidSeparator() call?
testContentLengthAndTransferEncodingHeadersWithInvalidSeparator() calls 1 function(s): testInvalidHeaders0.
What calls testContentLengthAndTransferEncodingHeadersWithInvalidSeparator()?
testContentLengthAndTransferEncodingHeadersWithInvalidSeparator() is called by 2 function(s): testContentLengthAndTransferEncodingHeadersWithCR, testContentLengthAndTransferEncodingHeadersWithVerticalTab.

Analyze Your Own Codebase

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

Try Supermodel Free