length() — netty Function Reference
Architecture documentation for the length() function in HpackDynamicTable.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d5ad6030_d26c_c0ab_aa8c_77ac80f9a8b6["length()"] feed71e9_4455_9bda_6187_d37edd627c61["HpackDynamicTable"] d5ad6030_d26c_c0ab_aa8c_77ac80f9a8b6 -->|defined in| feed71e9_4455_9bda_6187_d37edd627c61 e2aac505_a762_df0f_db79_55d35adf0f2b["HpackHeaderField()"] e2aac505_a762_df0f_db79_55d35adf0f2b -->|calls| d5ad6030_d26c_c0ab_aa8c_77ac80f9a8b6 6eb146ec_7738_9327_a090_71feef80629d["setCapacity()"] 6eb146ec_7738_9327_a090_71feef80629d -->|calls| d5ad6030_d26c_c0ab_aa8c_77ac80f9a8b6 style d5ad6030_d26c_c0ab_aa8c_77ac80f9a8b6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/HpackDynamicTable.java lines 56–64
public int length() {
int length;
if (head < tail) {
length = hpackHeaderFields.length - tail + head;
} else {
length = head - tail;
}
return length;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does length() do?
length() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackDynamicTable.java.
Where is length() defined?
length() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackDynamicTable.java at line 56.
What calls length()?
length() is called by 2 function(s): HpackHeaderField, setCapacity.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free