names() — netty Function Reference
Architecture documentation for the names() function in ReadOnlyHttp2Headers.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 73d218ae_6c83_b353_f1d4_222b1e7c87c9["names()"] fb9ab82e_fa9f_006b_ddc8_d5545cd320cb["ReadOnlyHttp2Headers"] 73d218ae_6c83_b353_f1d4_222b1e7c87c9 -->|defined in| fb9ab82e_fa9f_006b_ddc8_d5545cd320cb ef72fd86_7287_c22b_6dad_29a51592b746["isEmpty()"] 73d218ae_6c83_b353_f1d4_222b1e7c87c9 -->|calls| ef72fd86_7287_c22b_6dad_29a51592b746 da563a28_49ea_be39_185d_fc6c29cf80ca["size()"] 73d218ae_6c83_b353_f1d4_222b1e7c87c9 -->|calls| da563a28_49ea_be39_185d_fc6c29cf80ca style 73d218ae_6c83_b353_f1d4_222b1e7c87c9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/ReadOnlyHttp2Headers.java lines 496–512
@Override
public Set<CharSequence> names() {
if (isEmpty()) {
return Collections.emptySet();
}
Set<CharSequence> names = new LinkedHashSet<CharSequence>(size());
final int pseudoHeadersEnd = pseudoHeaders.length - 1;
for (int i = 0; i < pseudoHeadersEnd; i += 2) {
names.add(pseudoHeaders[i]);
}
final int otherHeadersEnd = otherHeaders.length - 1;
for (int i = 0; i < otherHeadersEnd; i += 2) {
names.add(otherHeaders[i]);
}
return names;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does names() do?
names() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/ReadOnlyHttp2Headers.java.
Where is names() defined?
names() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/ReadOnlyHttp2Headers.java at line 496.
What does names() call?
names() calls 2 function(s): isEmpty, size.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free