Home / Function/ processHeadersEnd() — netty Function Reference

processHeadersEnd() — netty Function Reference

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

Function java Buffer Allocators calls 2 called by 2

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapter.java lines 214–222

    private void processHeadersEnd(ChannelHandlerContext ctx, Http2Stream stream, FullHttpMessage msg,
                                   boolean endOfStream) {
        if (endOfStream) {
            // Release if the msg from the map is different from the object being forwarded up the pipeline.
            fireChannelRead(ctx, msg, getMessage(stream) != msg, stream);
        } else {
            putMessage(stream, msg);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does processHeadersEnd() do?
processHeadersEnd() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapter.java.
Where is processHeadersEnd() defined?
processHeadersEnd() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapter.java at line 214.
What does processHeadersEnd() call?
processHeadersEnd() calls 2 function(s): fireChannelRead, putMessage.
What calls processHeadersEnd()?
processHeadersEnd() is called by 2 function(s): onHeadersRead, onPushPromiseRead.

Analyze Your Own Codebase

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

Try Supermodel Free