Home / Function/ illegalNotFirstChar() — netty Function Reference

illegalNotFirstChar() — netty Function Reference

Architecture documentation for the illegalNotFirstChar() function in HttpHeaderValidationUtilTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  70a59f1e_d597_036b_9336_0101bd5c64b8["illegalNotFirstChar()"]
  41393c8c_1006_6327_605c_681db4fcf453["HttpHeaderValidationUtilTest"]
  70a59f1e_d597_036b_9336_0101bd5c64b8 -->|defined in| 41393c8c_1006_6327_605c_681db4fcf453
  b074883a_ddf3_3abd_a4aa_f460c5ce2c5e["asciiStrings()"]
  70a59f1e_d597_036b_9336_0101bd5c64b8 -->|calls| b074883a_ddf3_3abd_a4aa_f460c5ce2c5e
  style 70a59f1e_d597_036b_9336_0101bd5c64b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpHeaderValidationUtilTest.java lines 278–290

    public static List<AsciiString> illegalNotFirstChar() {
        ArrayList<AsciiString> list = new ArrayList<AsciiString>();

        for (byte i = 0; i < 0x21; i++) {
            if (i == ' ' || i == '\t') {
                continue; // Space and horizontal tab are only illegal as first chars.
            }
            asciiStrings(new byte[]{'a', i}, list);
        }
        asciiStrings(new byte[]{'a', 0x7F}, list);

        return list;
    }

Domain

Subdomains

Frequently Asked Questions

What does illegalNotFirstChar() do?
illegalNotFirstChar() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpHeaderValidationUtilTest.java.
Where is illegalNotFirstChar() defined?
illegalNotFirstChar() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpHeaderValidationUtilTest.java at line 278.
What does illegalNotFirstChar() call?
illegalNotFirstChar() calls 1 function(s): asciiStrings.

Analyze Your Own Codebase

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

Try Supermodel Free