MockOutboundHandler Class — netty Architecture
Architecture documentation for the MockOutboundHandler class in WebSocketServerProtocolHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 53b3b3fe_81ef_5758_49c9_f467479ca124["MockOutboundHandler"] be0e257a_741a_5c7f_593d_0534daf86a59["WebSocketServerProtocolHandlerTest.java"] 53b3b3fe_81ef_5758_49c9_f467479ca124 -->|defined in| be0e257a_741a_5c7f_593d_0534daf86a59 905005c5_db2e_99da_e49d_c2cb7f032314["write()"] 53b3b3fe_81ef_5758_49c9_f467479ca124 -->|method| 905005c5_db2e_99da_e49d_c2cb7f032314 f6cf5280_2bc6_5f7e_cb55_fbb3cbd27c3b["flush()"] 53b3b3fe_81ef_5758_49c9_f467479ca124 -->|method| f6cf5280_2bc6_5f7e_cb55_fbb3cbd27c3b
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java lines 492–503
private class MockOutboundHandler extends ChannelOutboundHandlerAdapter {
@Override
public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) {
responses.add((FullHttpResponse) msg);
promise.setSuccess();
}
@Override
public void flush(ChannelHandlerContext ctx) {
}
}
Source
Frequently Asked Questions
What is the MockOutboundHandler class?
MockOutboundHandler is a class in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java.
Where is MockOutboundHandler defined?
MockOutboundHandler is defined in codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java at line 492.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free