handleImage() — netty Function Reference
Architecture documentation for the handleImage() function in Http2RequestHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6539abb6_e956_a28c_66e5_64aa3895f8df["handleImage()"] 0c1aeb28_a194_4c7d_9730_36d1126b321b["Http2RequestHandler"] 6539abb6_e956_a28c_66e5_64aa3895f8df -->|defined in| 0c1aeb28_a194_4c7d_9730_36d1126b321b 738c7b3e_7255_a9ac_d890_2af909b9ba80["channelRead0()"] 738c7b3e_7255_a9ac_d890_2af909b9ba80 -->|calls| 6539abb6_e956_a28c_66e5_64aa3895f8df 9e0fc724_23e1_aeee_41a6_2092a463b22e["sendResponse()"] 6539abb6_e956_a28c_66e5_64aa3895f8df -->|calls| 9e0fc724_23e1_aeee_41a6_2092a463b22e style 6539abb6_e956_a28c_66e5_64aa3895f8df fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
example/src/main/java/io/netty/example/http2/tiles/Http2RequestHandler.java lines 78–84
private void handleImage(String x, String y, ChannelHandlerContext ctx, String streamId, int latency,
FullHttpRequest request) {
ByteBuf image = ImageCache.INSTANCE.image(parseInt(x), parseInt(y));
FullHttpResponse response = new DefaultFullHttpResponse(HTTP_1_1, OK, image.duplicate());
response.headers().set(CONTENT_TYPE, "image/jpeg");
sendResponse(ctx, streamId, latency, response, request);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does handleImage() do?
handleImage() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/http2/tiles/Http2RequestHandler.java.
Where is handleImage() defined?
handleImage() is defined in example/src/main/java/io/netty/example/http2/tiles/Http2RequestHandler.java at line 78.
What does handleImage() call?
handleImage() calls 1 function(s): sendResponse.
What calls handleImage()?
handleImage() is called by 1 function(s): channelRead0.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free