Home / Function/ testHeaderNameEndsWithControlChar() — netty Function Reference

testHeaderNameEndsWithControlChar() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 5

Entity Profile

Dependency Diagram

graph TD
  ce010649_5cb6_4679_a703_8b4813a61216["testHeaderNameEndsWithControlChar()"]
  514322d5_436a_d1ac_6240_1f9cf42934a4["HttpRequestDecoderTest"]
  ce010649_5cb6_4679_a703_8b4813a61216 -->|defined in| 514322d5_436a_d1ac_6240_1f9cf42934a4
  d22c126b_03c3_20dc_a087_20624ead482b["testHeaderNameEndsWithControlChar1c()"]
  d22c126b_03c3_20dc_a087_20624ead482b -->|calls| ce010649_5cb6_4679_a703_8b4813a61216
  120ac11f_fc59_f311_30c6_0e115df7e06c["testHeaderNameEndsWithControlChar1d()"]
  120ac11f_fc59_f311_30c6_0e115df7e06c -->|calls| ce010649_5cb6_4679_a703_8b4813a61216
  c66b46e8_532b_f35f_0dc6_342e087c8152["testHeaderNameEndsWithControlChar1e()"]
  c66b46e8_532b_f35f_0dc6_342e087c8152 -->|calls| ce010649_5cb6_4679_a703_8b4813a61216
  b565a58b_8e0b_460e_d588_09f8615a0836["testHeaderNameEndsWithControlChar1f()"]
  b565a58b_8e0b_460e_d588_09f8615a0836 -->|calls| ce010649_5cb6_4679_a703_8b4813a61216
  cef9ecfa_98c1_18a0_2eb1_adefe7c2cea4["testHeaderNameEndsWithControlChar0c()"]
  cef9ecfa_98c1_18a0_2eb1_adefe7c2cea4 -->|calls| ce010649_5cb6_4679_a703_8b4813a61216
  09b68b29_7f9b_974c_84e2_6dbc49644974["testInvalidHeaders0()"]
  ce010649_5cb6_4679_a703_8b4813a61216 -->|calls| 09b68b29_7f9b_974c_84e2_6dbc49644974
  style ce010649_5cb6_4679_a703_8b4813a61216 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestDecoderTest.java lines 505–513

    private void testHeaderNameEndsWithControlChar(int controlChar) {
        ByteBuf requestBuffer = Unpooled.buffer();
        requestBuffer.writeCharSequence("GET /some/path HTTP/1.1\r\n" +
                "Host: netty.io\r\n", CharsetUtil.US_ASCII);
        requestBuffer.writeCharSequence("Transfer-Encoding", CharsetUtil.US_ASCII);
        requestBuffer.writeByte(controlChar);
        requestBuffer.writeCharSequence(": chunked\r\n\r\n", CharsetUtil.US_ASCII);
        testInvalidHeaders0(requestBuffer);
    }

Domain

Subdomains

Frequently Asked Questions

What does testHeaderNameEndsWithControlChar() do?
testHeaderNameEndsWithControlChar() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestDecoderTest.java.
Where is testHeaderNameEndsWithControlChar() defined?
testHeaderNameEndsWithControlChar() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpRequestDecoderTest.java at line 505.
What does testHeaderNameEndsWithControlChar() call?
testHeaderNameEndsWithControlChar() calls 1 function(s): testInvalidHeaders0.
What calls testHeaderNameEndsWithControlChar()?
testHeaderNameEndsWithControlChar() is called by 5 function(s): testHeaderNameEndsWithControlChar0c, testHeaderNameEndsWithControlChar1c, testHeaderNameEndsWithControlChar1d, testHeaderNameEndsWithControlChar1e, testHeaderNameEndsWithControlChar1f.

Analyze Your Own Codebase

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

Try Supermodel Free