Home / Function/ setValue() — netty Function Reference

setValue() — netty Function Reference

Architecture documentation for the setValue() function in DiskAttribute.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  bdaa7b11_b954_7027_4185_503a896ca761["setValue()"]
  33bebd28_5d87_ab46_8f36_bb68623e9fc6["DiskAttribute"]
  bdaa7b11_b954_7027_4185_503a896ca761 -->|defined in| 33bebd28_5d87_ab46_8f36_bb68623e9fc6
  51e788df_a70b_2f87_68c4_f9ddd1e698ed["DiskAttribute()"]
  51e788df_a70b_2f87_68c4_f9ddd1e698ed -->|calls| bdaa7b11_b954_7027_4185_503a896ca761
  style bdaa7b11_b954_7027_4185_503a896ca761 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/DiskAttribute.java lines 114–124

    @Override
    public void setValue(String value) throws IOException {
        ObjectUtil.checkNotNull(value, "value");
        byte [] bytes = value.getBytes(getCharset());
        checkSize(bytes.length);
        ByteBuf buffer = wrappedBuffer(bytes);
        if (definedSize > 0) {
            definedSize = buffer.readableBytes();
        }
        setContent(buffer);
    }

Subdomains

Called By

Frequently Asked Questions

What does setValue() do?
setValue() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/DiskAttribute.java.
Where is setValue() defined?
setValue() is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/DiskAttribute.java at line 114.
What calls setValue()?
setValue() is called by 1 function(s): DiskAttribute.

Analyze Your Own Codebase

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

Try Supermodel Free