Home / Function/ data() — netty Function Reference

data() — netty Function Reference

Architecture documentation for the data() function in HttpDataTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  349c03db_8968_a2c7_fc1c_7c62a3fc762a["data()"]
  4a611c3b_ba31_9595_a764_a84839920b31["HttpDataTest"]
  349c03db_8968_a2c7_fc1c_7c62a3fc762a -->|defined in| 4a611c3b_ba31_9595_a764_a84839920b31
  style 349c03db_8968_a2c7_fc1c_7c62a3fc762a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpDataTest.java lines 48–57

    static HttpData[] data() {
        return new HttpData[]{
                new MemoryAttribute("test", 10),
                new MemoryFileUpload("test", "", "text/plain", null, CharsetUtil.UTF_8, 10),
                new MixedAttribute("test", 10, -1),
                new MixedFileUpload("test", "", "text/plain", null, CharsetUtil.UTF_8, 10, -1),
                new DiskAttribute("test", 10),
                new DiskFileUpload("test", "", "text/plain", null, CharsetUtil.UTF_8, 10)
        };
    }

Domain

Subdomains

Frequently Asked Questions

What does data() do?
data() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpDataTest.java.
Where is data() defined?
data() is defined in codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpDataTest.java at line 48.

Analyze Your Own Codebase

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

Try Supermodel Free