addNameValueEntry() — netty Function Reference
Architecture documentation for the addNameValueEntry() function in HpackEncoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1c8b2193_c4e9_6059_cad2_addf4f3ff68b["addNameValueEntry()"] 616b4418_6852_a9a9_188d_063a8768b35a["HpackEncoder"] 1c8b2193_c4e9_6059_cad2_addf4f3ff68b -->|defined in| 616b4418_6852_a9a9_188d_063a8768b35a 67aada40_9838_0523_a316_eceb773154ab["encodeAndAddEntries()"] 67aada40_9838_0523_a316_eceb773154ab -->|calls| 1c8b2193_c4e9_6059_cad2_addf4f3ff68b 1c32f793_a146_ce36_8f9b_05f2e14003aa["hash()"] 1c8b2193_c4e9_6059_cad2_addf4f3ff68b -->|calls| 1c32f793_a146_ce36_8f9b_05f2e14003aa af14f309_4d63_c743_d49f_624cf3fa87a5["bucket()"] 1c8b2193_c4e9_6059_cad2_addf4f3ff68b -->|calls| af14f309_4d63_c743_d49f_624cf3fa87a5 8583372d_d8bc_c03e_a167_6370300612a1["NameValueEntry()"] 1c8b2193_c4e9_6059_cad2_addf4f3ff68b -->|calls| 8583372d_d8bc_c03e_a167_6370300612a1 style 1c8b2193_c4e9_6059_cad2_addf4f3ff68b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java lines 431–439
private void addNameValueEntry(CharSequence name, CharSequence value,
int nameHash, int valueHash, int nextCounter) {
int hash = hash(nameHash, valueHash);
int bucket = bucket(hash);
NameValueEntry e = new NameValueEntry(hash, name, value, nextCounter, nameValueEntries[bucket]);
nameValueEntries[bucket] = e;
latest.after = e;
latest = e;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does addNameValueEntry() do?
addNameValueEntry() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java.
Where is addNameValueEntry() defined?
addNameValueEntry() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java at line 431.
What does addNameValueEntry() call?
addNameValueEntry() calls 3 function(s): NameValueEntry, bucket, hash.
What calls addNameValueEntry()?
addNameValueEntry() is called by 1 function(s): encodeAndAddEntries.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free