AsciiString() — netty Function Reference
Architecture documentation for the AsciiString() function in ReadOnlyHttp2Headers.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6920423c_b3d5_ec88_b8f3_940f75926006["AsciiString()"] fb9ab82e_fa9f_006b_ddc8_d5545cd320cb["ReadOnlyHttp2Headers"] 6920423c_b3d5_ec88_b8f3_940f75926006 -->|defined in| fb9ab82e_fa9f_006b_ddc8_d5545cd320cb style 6920423c_b3d5_ec88_b8f3_940f75926006 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/ReadOnlyHttp2Headers.java lines 154–173
private AsciiString get0(CharSequence name) {
final int nameHash = AsciiString.hashCode(name);
final int pseudoHeadersEnd = pseudoHeaders.length - 1;
for (int i = 0; i < pseudoHeadersEnd; i += 2) {
AsciiString roName = pseudoHeaders[i];
if (roName.hashCode() == nameHash && roName.contentEqualsIgnoreCase(name)) {
return pseudoHeaders[i + 1];
}
}
final int otherHeadersEnd = otherHeaders.length - 1;
for (int i = 0; i < otherHeadersEnd; i += 2) {
AsciiString roName = otherHeaders[i];
if (roName.hashCode() == nameHash && roName.contentEqualsIgnoreCase(name)) {
return otherHeaders[i + 1];
}
}
return null;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AsciiString() do?
AsciiString() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/ReadOnlyHttp2Headers.java.
Where is AsciiString() defined?
AsciiString() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/ReadOnlyHttp2Headers.java at line 154.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free