encodedChunkedFileRegionContent() — netty Function Reference
Architecture documentation for the encodedChunkedFileRegionContent() function in HttpObjectEncoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c76774a6_9669_6152_6709_d25975383f27["encodedChunkedFileRegionContent()"] 14c61705_9541_276a_37fa_eaab6f15ec5a["HttpObjectEncoder"] c76774a6_9669_6152_6709_d25975383f27 -->|defined in| 14c61705_9541_276a_37fa_eaab6f15ec5a 4d5953cb_854c_5e28_6a1b_484139dd485f["encodeFileRegionContent()"] 4d5953cb_854c_5e28_6a1b_484139dd485f -->|calls| c76774a6_9669_6152_6709_d25975383f27 267a23bc_b47f_88ca_5ff5_18b6900fb55b["addEncodedLengthHex()"] c76774a6_9669_6152_6709_d25975383f27 -->|calls| 267a23bc_b47f_88ca_5ff5_18b6900fb55b style c76774a6_9669_6152_6709_d25975383f27 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java lines 550–561
private static void encodedChunkedFileRegionContent(ChannelHandlerContext ctx, FileRegion msg, List<Object> out) {
final long contentLength = msg.count();
if (contentLength > 0) {
addEncodedLengthHex(ctx, contentLength, out);
out.add(msg.retain());
out.add(CRLF_BUF.duplicate());
} else if (contentLength == 0) {
// Need to produce some output otherwise an
// IllegalStateException will be thrown
out.add(msg.retain());
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does encodedChunkedFileRegionContent() do?
encodedChunkedFileRegionContent() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java.
Where is encodedChunkedFileRegionContent() defined?
encodedChunkedFileRegionContent() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java at line 550.
What does encodedChunkedFileRegionContent() call?
encodedChunkedFileRegionContent() calls 1 function(s): addEncodedLengthHex.
What calls encodedChunkedFileRegionContent()?
encodedChunkedFileRegionContent() is called by 1 function(s): encodeFileRegionContent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free