Home / Function/ addBodyAttribute() — netty Function Reference

addBodyAttribute() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  4e38b4d7_dd27_b7ac_b26d_b3f5cb2dd3bb["addBodyAttribute()"]
  1f646438_907e_54fe_bc9e_a9535d782cc8["HttpPostRequestEncoder"]
  4e38b4d7_dd27_b7ac_b26d_b3f5cb2dd3bb -->|defined in| 1f646438_907e_54fe_bc9e_a9535d782cc8
  ca6541f6_10eb_06dc_c20a_7a3aee11d69a["addBodyHttpData()"]
  4e38b4d7_dd27_b7ac_b26d_b3f5cb2dd3bb -->|calls| ca6541f6_10eb_06dc_c20a_7a3aee11d69a
  style 4e38b4d7_dd27_b7ac_b26d_b3f5cb2dd3bb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostRequestEncoder.java lines 330–334

    public void addBodyAttribute(String name, String value) throws ErrorDataEncoderException {
        String svalue = value != null? value : StringUtil.EMPTY_STRING;
        Attribute data = factory.createAttribute(request, checkNotNull(name, "name"), svalue);
        addBodyHttpData(data);
    }

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free