Home / Function/ channelRead() — netty Function Reference

channelRead() — netty Function Reference

Architecture documentation for the channelRead() function in Http2MultiplexTransportTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ddc09e7c_92de_4aa4_bf62_25ac0d49ef36["channelRead()"]
  cbe43862_9765_7481_8f83_05c7dedcb546["MultiplexInboundStream"]
  ddc09e7c_92de_4aa4_bf62_25ac0d49ef36 -->|defined in| cbe43862_9765_7481_8f83_05c7dedcb546
  244a9744_7e18_7250_b37b_f6158f673bd7["asyncSettingsAck0()"]
  244a9744_7e18_7250_b37b_f6158f673bd7 -->|calls| ddc09e7c_92de_4aa4_bf62_25ac0d49ef36
  6c6962d0_e341_4a30_fb29_8ef81f526f7a["testFlushNotDiscarded()"]
  6c6962d0_e341_4a30_fb29_8ef81f526f7a -->|calls| ddc09e7c_92de_4aa4_bf62_25ac0d49ef36
  7b850f8e_a40d_861e_29dd_57e0bde0185f["testFireChannelReadAfterHandshakeSuccess()"]
  7b850f8e_a40d_861e_29dd_57e0bde0185f -->|calls| ddc09e7c_92de_4aa4_bf62_25ac0d49ef36
  ba5dd52d_0e41_5760_c529_eeb0a10a4957["streamHandlerInactivatedResponseFlushed()"]
  ba5dd52d_0e41_5760_c529_eeb0a10a4957 -->|calls| ddc09e7c_92de_4aa4_bf62_25ac0d49ef36
  style ddc09e7c_92de_4aa4_bf62_25ac0d49ef36 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTransportTest.java lines 136–143

        @Override
        public void channelRead(final ChannelHandlerContext ctx, Object msg) {
            if (msg instanceof Http2HeadersFrame && ((Http2HeadersFrame) msg).isEndStream()) {
                ByteBuf response = Unpooled.copiedBuffer(LARGE_STRING, CharsetUtil.US_ASCII);
                responseFuture = ctx.writeAndFlush(new DefaultHttp2DataFrame(response, true));
            }
            ReferenceCountUtil.release(msg);
        }

Domain

Subdomains

Frequently Asked Questions

What does channelRead() do?
channelRead() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTransportTest.java.
Where is channelRead() defined?
channelRead() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTransportTest.java at line 136.
What calls channelRead()?
channelRead() is called by 4 function(s): asyncSettingsAck0, streamHandlerInactivatedResponseFlushed, testFireChannelReadAfterHandshakeSuccess, testFlushNotDiscarded.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free