destroy() — netty Function Reference
Architecture documentation for the destroy() function in HttpPostMultipartRequestDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 71a492bd_b57d_b278_1f48_931e9fd23b2b["destroy()"] d07408ef_0ab6_54bb_c64e_0b5b9a0aac25["HttpPostMultipartRequestDecoder"] 71a492bd_b57d_b278_1f48_931e9fd23b2b -->|defined in| d07408ef_0ab6_54bb_c64e_0b5b9a0aac25 887d5ddf_26e1_f9b5_a625_97b956d435f5["HttpPostMultipartRequestDecoder()"] 887d5ddf_26e1_f9b5_a625_97b956d435f5 -->|calls| 71a492bd_b57d_b278_1f48_931e9fd23b2b 97255a70_b345_222c_4e89_a71d00d1cde1["cleanFiles()"] 71a492bd_b57d_b278_1f48_931e9fd23b2b -->|calls| 97255a70_b345_222c_4e89_a71d00d1cde1 style 71a492bd_b57d_b278_1f48_931e9fd23b2b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostMultipartRequestDecoder.java lines 982–1000
@Override
public void destroy() {
// Release all data items, including those not yet pulled, only file based items
cleanFiles();
// Clean Memory based data
for (InterfaceHttpData httpData : bodyListHttpData) {
// Might have been already released by the user
if (httpData.refCnt() > 0) {
httpData.release();
}
}
destroyed = true;
if (undecodedChunk != null && undecodedChunk.refCnt() > 0) {
undecodedChunk.release();
undecodedChunk = null;
}
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does destroy() do?
destroy() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostMultipartRequestDecoder.java.
Where is destroy() defined?
destroy() is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostMultipartRequestDecoder.java at line 982.
What does destroy() call?
destroy() calls 1 function(s): cleanFiles.
What calls destroy()?
destroy() is called by 1 function(s): HttpPostMultipartRequestDecoder.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free