onDataRead() — netty Function Reference
Architecture documentation for the onDataRead() function in HelloWorldHttp2Handler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2aff3e0d_b9da_dfd8_52d7_204fc2934c59["onDataRead()"] e70e95b3_6153_ac8d_192f_c528a381f039["HelloWorldHttp2Handler"] 2aff3e0d_b9da_dfd8_52d7_204fc2934c59 -->|defined in| e70e95b3_6153_ac8d_192f_c528a381f039 6a02f636_5a1c_6de7_de0e_243781f44505["sendResponse()"] 2aff3e0d_b9da_dfd8_52d7_204fc2934c59 -->|calls| 6a02f636_5a1c_6de7_de0e_243781f44505 style 2aff3e0d_b9da_dfd8_52d7_204fc2934c59 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite-http2/src/main/java/io/netty/testsuite/http2/HelloWorldHttp2Handler.java lines 98–105
@Override
public int onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream) {
int processed = data.readableBytes() + padding;
if (endOfStream) {
sendResponse(ctx, streamId, data.retain());
}
return processed;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does onDataRead() do?
onDataRead() is a function in the netty codebase, defined in testsuite-http2/src/main/java/io/netty/testsuite/http2/HelloWorldHttp2Handler.java.
Where is onDataRead() defined?
onDataRead() is defined in testsuite-http2/src/main/java/io/netty/testsuite/http2/HelloWorldHttp2Handler.java at line 98.
What does onDataRead() call?
onDataRead() calls 1 function(s): sendResponse.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free