Home / Function/ addBodyFileUpload() — netty Function Reference

addBodyFileUpload() — netty Function Reference

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

Function java ProtocolCodecs HTTP calls 3 called by 1

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostRequestEncoder.java lines 352–355

    public void addBodyFileUpload(String name, File file, String contentType, boolean isText)
            throws ErrorDataEncoderException {
        addBodyFileUpload(name, file.getName(), file, contentType, isText);
    }

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free