Home / Function/ addBodyFileUploads() — netty Function Reference

addBodyFileUploads() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostRequestEncoder.java lines 421–429

    public void addBodyFileUploads(String name, File[] file, String[] contentType, boolean[] isText)
            throws ErrorDataEncoderException {
        if (file.length != contentType.length && file.length != isText.length) {
            throw new IllegalArgumentException("Different array length");
        }
        for (int i = 0; i < file.length; i++) {
            addBodyFileUpload(name, file[i], contentType[i], isText[i]);
        }
    }

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free