Home / Function/ onHeadersRead() — netty Function Reference

onHeadersRead() — netty Function Reference

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

Function java Buffer Allocators calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  a7f0343e_581c_7e4a_796e_4e4c426bb22e["onHeadersRead()"]
  0189a990_8f54_63f5_92fb_f168c031db1e["FrameReadListener"]
  a7f0343e_581c_7e4a_796e_4e4c426bb22e -->|defined in| 0189a990_8f54_63f5_92fb_f168c031db1e
  4d5989cc_6339_6f87_868b_a436d0075e4a["onHeadersRead()"]
  4d5989cc_6339_6f87_868b_a436d0075e4a -->|calls| a7f0343e_581c_7e4a_796e_4e4c426bb22e
  4d5989cc_6339_6f87_868b_a436d0075e4a["onHeadersRead()"]
  a7f0343e_581c_7e4a_796e_4e4c426bb22e -->|calls| 4d5989cc_6339_6f87_868b_a436d0075e4a
  ced1d4e9_b458_5358_c892_efa8534c4694["shouldIgnoreHeadersOrDataFrame()"]
  a7f0343e_581c_7e4a_796e_4e4c426bb22e -->|calls| ced1d4e9_b458_5358_c892_efa8534c4694
  89b3c4dc_6b2d_611c_6134_43390f8dfb50["ContentLength()"]
  a7f0343e_581c_7e4a_796e_4e4c426bb22e -->|calls| 89b3c4dc_6b2d_611c_6134_43390f8dfb50
  472f71a8_ad4a_5ddf_ef48_0ce742954e37["verifyContentLength()"]
  a7f0343e_581c_7e4a_796e_4e4c426bb22e -->|calls| 472f71a8_ad4a_5ddf_ef48_0ce742954e37
  style a7f0343e_581c_7e4a_796e_4e4c426bb22e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java lines 335–339

        @Override
        public void onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding,
                boolean endOfStream) throws Http2Exception {
            onHeadersRead(ctx, streamId, headers, 0, DEFAULT_PRIORITY_WEIGHT, false, padding, endOfStream);
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does onHeadersRead() do?
onHeadersRead() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java.
Where is onHeadersRead() defined?
onHeadersRead() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoder.java at line 335.
What does onHeadersRead() call?
onHeadersRead() calls 4 function(s): ContentLength, onHeadersRead, shouldIgnoreHeadersOrDataFrame, verifyContentLength.
What calls onHeadersRead()?
onHeadersRead() is called by 1 function(s): onHeadersRead.

Analyze Your Own Codebase

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

Try Supermodel Free