getAll() — netty Function Reference
Architecture documentation for the getAll() function in ReadOnlyHttp2Headers.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1d98265b_7535_5a05_f712_0b35abe02993["getAll()"] fb9ab82e_fa9f_006b_ddc8_d5545cd320cb["ReadOnlyHttp2Headers"] 1d98265b_7535_5a05_f712_0b35abe02993 -->|defined in| fb9ab82e_fa9f_006b_ddc8_d5545cd320cb style 1d98265b_7535_5a05_f712_0b35abe02993 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/ReadOnlyHttp2Headers.java lines 196–218
@Override
public List<CharSequence> getAll(CharSequence name) {
final int nameHash = AsciiString.hashCode(name);
List<CharSequence> values = new ArrayList<CharSequence>();
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)) {
values.add(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)) {
values.add(otherHeaders[i + 1]);
}
}
return values;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getAll() do?
getAll() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/ReadOnlyHttp2Headers.java.
Where is getAll() defined?
getAll() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/ReadOnlyHttp2Headers.java at line 196.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free