EchoHandler Class — netty Architecture
Architecture documentation for the EchoHandler class in CorsHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 22a516ea_7837_9201_7971_9410d4bf92a8["EchoHandler"] ed631854_6ad2_3720_d4f9_206659e21a40["CorsHandlerTest.java"] 22a516ea_7837_9201_7971_9410d4bf92a8 -->|defined in| ed631854_6ad2_3720_d4f9_206659e21a40 aa9cce45_17ea_93f8_ea1d_960cdcd09d04["channelRead0()"] 22a516ea_7837_9201_7971_9410d4bf92a8 -->|method| aa9cce45_17ea_93f8_ea1d_960cdcd09d04
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java lines 731–738
private static class EchoHandler extends SimpleChannelInboundHandler<Object> {
@Override
public void channelRead0(ChannelHandlerContext ctx, Object msg) throws Exception {
ctx.writeAndFlush(new DefaultFullHttpResponse(HTTP_1_1, OK, Unpooled.buffer(0),
DefaultHttpHeadersFactory.headersFactory().withCombiningHeaders(true),
DefaultHttpHeadersFactory.trailersFactory().withCombiningHeaders(true)));
}
}
Source
Frequently Asked Questions
What is the EchoHandler class?
EchoHandler is a class in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java.
Where is EchoHandler defined?
EchoHandler is defined in codec-http/src/test/java/io/netty/handler/codec/http/cors/CorsHandlerTest.java at line 731.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free