Home / Function/ length() — netty Function Reference

length() — netty Function Reference

Architecture documentation for the length() function in HttpPostRequestEncoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  79489c6b_1eaf_03ee_5c22_3f2d84d30bc3["length()"]
  1f646438_907e_54fe_bc9e_a9535d782cc8["HttpPostRequestEncoder"]
  79489c6b_1eaf_03ee_5c22_3f2d84d30bc3 -->|defined in| 1f646438_907e_54fe_bc9e_a9535d782cc8
  d1902978_08b3_e45f_2ca3_35c26719bf40["addBodyFileUpload()"]
  d1902978_08b3_e45f_2ca3_35c26719bf40 -->|calls| 79489c6b_1eaf_03ee_5c22_3f2d84d30bc3
  ca6541f6_10eb_06dc_c20a_7a3aee11d69a["addBodyHttpData()"]
  ca6541f6_10eb_06dc_c20a_7a3aee11d69a -->|calls| 79489c6b_1eaf_03ee_5c22_3f2d84d30bc3
  style 79489c6b_1eaf_03ee_5c22_3f2d84d30bc3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostRequestEncoder.java lines 1125–1128

    @Override
    public long length() {
        return isMultipart? globalBodySize : globalBodySize - 1;
    }

Subdomains

Frequently Asked Questions

What does length() do?
length() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostRequestEncoder.java.
Where is length() defined?
length() is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostRequestEncoder.java at line 1125.
What calls length()?
length() is called by 2 function(s): addBodyFileUpload, addBodyHttpData.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free