Home / Function/ onDataRead() — netty Function Reference

onDataRead() — netty Function Reference

Architecture documentation for the onDataRead() function in DefaultHttp2ConnectionDecoder.java from the netty codebase.

Function java Buffer Allocators calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  a9a6e3dd_b339_3553_1e73_f0026b13c4ae["onDataRead()"]
  af231ad8_ae8c_ebec_d9d7_226af08e6f24["PrefaceFrameListener"]
  a9a6e3dd_b339_3553_1e73_f0026b13c4ae -->|defined in| af231ad8_ae8c_ebec_d9d7_226af08e6f24
  8d250926_1eab_67b5_7ae5_94ae1e073f54["onDataRead()"]
  8d250926_1eab_67b5_7ae5_94ae1e073f54 -->|calls| a9a6e3dd_b339_3553_1e73_f0026b13c4ae
  8d250926_1eab_67b5_7ae5_94ae1e073f54["onDataRead()"]
  a9a6e3dd_b339_3553_1e73_f0026b13c4ae -->|calls| 8d250926_1eab_67b5_7ae5_94ae1e073f54
  ef9a3b25_ec9f_f99b_71ed_3efbcd8388ea["verifyPrefaceReceived()"]
  a9a6e3dd_b339_3553_1e73_f0026b13c4ae -->|calls| ef9a3b25_ec9f_f99b_71ed_3efbcd8388ea
  style a9a6e3dd_b339_3553_1e73_f0026b13c4ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java lines 709–714

        @Override
        public int onDataRead(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream)
                throws Http2Exception {
            verifyPrefaceReceived();
            return internalFrameListener.onDataRead(ctx, streamId, data, padding, endOfStream);
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does onDataRead() do?
onDataRead() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java.
Where is onDataRead() defined?
onDataRead() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java at line 709.
What does onDataRead() call?
onDataRead() calls 2 function(s): onDataRead, verifyPrefaceReceived.
What calls onDataRead()?
onDataRead() is called by 1 function(s): onDataRead.

Analyze Your Own Codebase

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

Try Supermodel Free