asciiStrings() — netty Function Reference
Architecture documentation for the asciiStrings() function in HttpHeaderValidationUtilTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b074883a_ddf3_3abd_a4aa_f460c5ce2c5e["asciiStrings()"] 41393c8c_1006_6327_605c_681db4fcf453["HttpHeaderValidationUtilTest"] b074883a_ddf3_3abd_a4aa_f460c5ce2c5e -->|defined in| 41393c8c_1006_6327_605c_681db4fcf453 2962afbb_ec6c_1b48_ebf1_f5e3a2e70b78["illegalFirstChar()"] 2962afbb_ec6c_1b48_ebf1_f5e3a2e70b78 -->|calls| b074883a_ddf3_3abd_a4aa_f460c5ce2c5e 4f49a9a5_99d1_3f8f_8039_96692ad5c844["legalFirstChar()"] 4f49a9a5_99d1_3f8f_8039_96692ad5c844 -->|calls| b074883a_ddf3_3abd_a4aa_f460c5ce2c5e 70a59f1e_d597_036b_9336_0101bd5c64b8["illegalNotFirstChar()"] 70a59f1e_d597_036b_9336_0101bd5c64b8 -->|calls| b074883a_ddf3_3abd_a4aa_f460c5ce2c5e 102cb734_1ea9_8ef6_14e6_49a721f8e07f["legalNotFirstChar()"] 102cb734_1ea9_8ef6_14e6_49a721f8e07f -->|calls| b074883a_ddf3_3abd_a4aa_f460c5ce2c5e b39cd07a_b243_0be7_d876_b8f7a4c00e81["validTokenChars()"] b39cd07a_b243_0be7_d876_b8f7a4c00e81 -->|calls| b074883a_ddf3_3abd_a4aa_f460c5ce2c5e style b074883a_ddf3_3abd_a4aa_f460c5ce2c5e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/HttpHeaderValidationUtilTest.java lines 228–239
private static void asciiStrings(byte[] chars, List<AsciiString> out) {
out.add(new AsciiString(chars));
out.add(new AsciiString(Arrays.copyOf(chars, chars.length + 1), 0, chars.length, false));
byte[] cs = Arrays.copyOf(chars, chars.length + 1);
System.arraycopy(cs, 0, cs, 1, chars.length);
out.add(new AsciiString(cs, 1, chars.length, false));
cs = Arrays.copyOf(chars, chars.length + 2);
System.arraycopy(cs, 0, cs, 1, chars.length);
out.add(new AsciiString(cs, 1, chars.length, false));
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does asciiStrings() do?
asciiStrings() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpHeaderValidationUtilTest.java.
Where is asciiStrings() defined?
asciiStrings() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpHeaderValidationUtilTest.java at line 228.
What calls asciiStrings()?
asciiStrings() is called by 5 function(s): illegalFirstChar, illegalNotFirstChar, legalFirstChar, legalNotFirstChar, validTokenChars.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free