Attribute() — netty Function Reference
Architecture documentation for the Attribute() function in DefaultHttpDataFactory.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b562ffa7_5b17_90de_bb17_f1a0c9c004bd["Attribute()"] 98f78988_c19a_3e7e_7294_362a9946ed47["DefaultHttpDataFactory"] b562ffa7_5b17_90de_bb17_f1a0c9c004bd -->|defined in| 98f78988_c19a_3e7e_7294_362a9946ed47 24a67ac8_3ea8_2355_22c5_9ce08e360e24["getList()"] b562ffa7_5b17_90de_bb17_f1a0c9c004bd -->|calls| 24a67ac8_3ea8_2355_22c5_9ce08e360e24 1f8c5b60_fd4b_1b00_24ee_903580c91e42["checkHttpDataSize()"] b562ffa7_5b17_90de_bb17_f1a0c9c004bd -->|calls| 1f8c5b60_fd4b_1b00_24ee_903580c91e42 style b562ffa7_5b17_90de_bb17_f1a0c9c004bd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/multipart/DefaultHttpDataFactory.java lines 163–182
@Override
public Attribute createAttribute(HttpRequest request, String name) {
if (useDisk) {
Attribute attribute = new DiskAttribute(name, charset, baseDir, deleteOnExit);
attribute.setMaxSize(maxSize);
List<HttpData> list = getList(request);
list.add(attribute);
return attribute;
}
if (checkSize) {
Attribute attribute = new MixedAttribute(name, minSize, charset, baseDir, deleteOnExit);
attribute.setMaxSize(maxSize);
List<HttpData> list = getList(request);
list.add(attribute);
return attribute;
}
MemoryAttribute attribute = new MemoryAttribute(name);
attribute.setMaxSize(maxSize);
return attribute;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Attribute() do?
Attribute() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/DefaultHttpDataFactory.java.
Where is Attribute() defined?
Attribute() is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/DefaultHttpDataFactory.java at line 163.
What does Attribute() call?
Attribute() calls 2 function(s): checkHttpDataSize, getList.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free