Home / Function/ onHeadersRead() — netty Function Reference

onHeadersRead() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  4aaf42f4_a0b4_d610_bbb6_b928f406c92f["onHeadersRead()"]
  aed86996_f518_c45d_5bdf_47241b8bdd57["InboundHttp2ToHttpAdapter"]
  4aaf42f4_a0b4_d610_bbb6_b928f406c92f -->|defined in| aed86996_f518_c45d_5bdf_47241b8bdd57
  dba66dc8_e4ba_9648_2ce7_0781414afe89["processHeadersEnd()"]
  4aaf42f4_a0b4_d610_bbb6_b928f406c92f -->|calls| dba66dc8_e4ba_9648_2ce7_0781414afe89
  style 4aaf42f4_a0b4_d610_bbb6_b928f406c92f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapter.java lines 250–258

    @Override
    public void onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding,
                              boolean endOfStream) throws Http2Exception {
        Http2Stream stream = connection.stream(streamId);
        FullHttpMessage msg = processHeadersBegin(ctx, stream, headers, endOfStream, true, true);
        if (msg != null) {
            processHeadersEnd(ctx, stream, msg, endOfStream);
        }
    }

Domain

Subdomains

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/InboundHttp2ToHttpAdapter.java.
Where is onHeadersRead() defined?
onHeadersRead() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapter.java at line 250.
What does onHeadersRead() call?
onHeadersRead() calls 1 function(s): processHeadersEnd.

Analyze Your Own Codebase

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

Try Supermodel Free