encodeContentNonChunk() — netty Function Reference
Architecture documentation for the encodeContentNonChunk() function in HttpObjectEncoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2f570965_5dd3_fd51_dfbe_c0c32b59d269["encodeContentNonChunk()"] 14c61705_9541_276a_37fa_eaab6f15ec5a["HttpObjectEncoder"] 2f570965_5dd3_fd51_dfbe_c0c32b59d269 -->|defined in| 14c61705_9541_276a_37fa_eaab6f15ec5a ebe34bd0_65f8_4408_a145_1b7768631692["encodeByteBufHttpContent()"] ebe34bd0_65f8_4408_a145_1b7768631692 -->|calls| 2f570965_5dd3_fd51_dfbe_c0c32b59d269 style 2f570965_5dd3_fd51_dfbe_c0c32b59d269 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java lines 352–366
private static boolean encodeContentNonChunk(List<Object> out, ByteBuf buf, ByteBuf content) {
final int contentLength = content.readableBytes();
if (contentLength > 0) {
if (buf.maxFastWritableBytes() >= contentLength) {
// merge into other buffer for performance reasons
buf.writeBytes(content);
out.add(buf);
} else {
out.add(buf);
out.add(content.retain());
}
return true;
}
return false;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does encodeContentNonChunk() do?
encodeContentNonChunk() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java.
Where is encodeContentNonChunk() defined?
encodeContentNonChunk() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java at line 352.
What calls encodeContentNonChunk()?
encodeContentNonChunk() is called by 1 function(s): encodeByteBufHttpContent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free