channelRead() — netty Function Reference
Architecture documentation for the channelRead() function in HttpContentDecompressorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b0d7a82f_c66f_3e0f_8055_3d339eec58a3["channelRead()"] 065dd300_499e_6894_9754_25466150e1c7["ZipBombIncomingHandler"] b0d7a82f_c66f_3e0f_8055_3d339eec58a3 -->|defined in| 065dd300_499e_6894_9754_25466150e1c7 bf87b63e_4adc_26e5_12ee_55244a091126["testInvokeReadWhenNotProduceMessage()"] bf87b63e_4adc_26e5_12ee_55244a091126 -->|calls| b0d7a82f_c66f_3e0f_8055_3d339eec58a3 style b0d7a82f_c66f_3e0f_8055_3d339eec58a3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/HttpContentDecompressorTest.java lines 160–171
@Override
public void channelRead(ChannelHandlerContext ctx, Object msg) {
PooledByteBufAllocator allocator = (PooledByteBufAllocator) ctx.alloc();
assertTrue(allocator.metric().usedHeapMemory() < memoryLimit);
assertTrue(allocator.metric().usedDirectMemory() < memoryLimit);
if (msg instanceof HttpContent) {
HttpContent buf = (HttpContent) msg;
total += buf.content().readableBytes();
buf.release();
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does channelRead() do?
channelRead() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpContentDecompressorTest.java.
Where is channelRead() defined?
channelRead() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpContentDecompressorTest.java at line 160.
What calls channelRead()?
channelRead() is called by 1 function(s): testInvokeReadWhenNotProduceMessage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free