HttpResponseDelegator Class — netty Architecture
Architecture documentation for the HttpResponseDelegator class in InboundHttp2ToHttpAdapterTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0df02b0c_4240_c7b8_5234_5b2ba1695620["HttpResponseDelegator"] 4170cc1c_831c_816c_3ced_77d9f5dea904["InboundHttp2ToHttpAdapterTest.java"] 0df02b0c_4240_c7b8_5234_5b2ba1695620 -->|defined in| 4170cc1c_831c_816c_3ced_77d9f5dea904 db4a2842_2df2_cb8b_240d_3f2da6dcda3e["HttpResponseDelegator()"] 0df02b0c_4240_c7b8_5234_5b2ba1695620 -->|method| db4a2842_2df2_cb8b_240d_3f2da6dcda3e a6e20ee1_b2b2_ea13_5513_b4c3142e9460["channelRead0()"] 0df02b0c_4240_c7b8_5234_5b2ba1695620 -->|method| a6e20ee1_b2b2_ea13_5513_b4c3142e9460
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapterTest.java lines 818–836
private static final class HttpResponseDelegator extends SimpleChannelInboundHandler<HttpObject> {
private final HttpResponseListener listener;
private final CountDownLatch latch;
private final CountDownLatch latch2;
HttpResponseDelegator(HttpResponseListener listener, CountDownLatch latch, CountDownLatch latch2) {
super(false);
this.listener = listener;
this.latch = latch;
this.latch2 = latch2;
}
@Override
protected void channelRead0(ChannelHandlerContext ctx, HttpObject msg) throws Exception {
listener.messageReceived(msg);
latch.countDown();
latch2.countDown();
}
}
Defined In
Source
Frequently Asked Questions
What is the HttpResponseDelegator class?
HttpResponseDelegator is a class in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapterTest.java.
Where is HttpResponseDelegator defined?
HttpResponseDelegator is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapterTest.java at line 818.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free