sendResponse() — netty Function Reference
Architecture documentation for the sendResponse() function in HelloWorldHttp2Handler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 585bb4b9_901b_e7dd_4a7b_0410fd16cb04["sendResponse()"] c8a162e3_eede_4376_b493_eb1ed405d206["HelloWorldHttp2Handler"] 585bb4b9_901b_e7dd_4a7b_0410fd16cb04 -->|defined in| c8a162e3_eede_4376_b493_eb1ed405d206 b678494b_8b69_9e9a_c231_26c69c0f78ce["onDataRead()"] b678494b_8b69_9e9a_c231_26c69c0f78ce -->|calls| 585bb4b9_901b_e7dd_4a7b_0410fd16cb04 9ffbc081_b11c_edec_7761_cee3b226f84a["onHeadersRead()"] 9ffbc081_b11c_edec_7761_cee3b226f84a -->|calls| 585bb4b9_901b_e7dd_4a7b_0410fd16cb04 style 585bb4b9_901b_e7dd_4a7b_0410fd16cb04 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
example/src/main/java/io/netty/example/http2/helloworld/multiplex/server/HelloWorldHttp2Handler.java lines 94–99
private static void sendResponse(ChannelHandlerContext ctx, ByteBuf payload) {
// Send a frame for the response status
Http2Headers headers = new DefaultHttp2Headers().status(OK.codeAsText());
ctx.write(new DefaultHttp2HeadersFrame(headers));
ctx.write(new DefaultHttp2DataFrame(payload, true));
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does sendResponse() do?
sendResponse() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/http2/helloworld/multiplex/server/HelloWorldHttp2Handler.java.
Where is sendResponse() defined?
sendResponse() is defined in example/src/main/java/io/netty/example/http2/helloworld/multiplex/server/HelloWorldHttp2Handler.java at line 94.
What calls sendResponse()?
sendResponse() is called by 2 function(s): onDataRead, onHeadersRead.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free