Home / Class/ HttpSettingsDelegator Class — netty Architecture

HttpSettingsDelegator Class — netty Architecture

Architecture documentation for the HttpSettingsDelegator class in InboundHttp2ToHttpAdapterTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  92caf88a_50d2_bf93_9666_2051df68c3a0["HttpSettingsDelegator"]
  4170cc1c_831c_816c_3ced_77d9f5dea904["InboundHttp2ToHttpAdapterTest.java"]
  92caf88a_50d2_bf93_9666_2051df68c3a0 -->|defined in| 4170cc1c_831c_816c_3ced_77d9f5dea904
  373c20c7_9b5e_495c_0dde_0cfe0cbe2aaf["HttpSettingsDelegator()"]
  92caf88a_50d2_bf93_9666_2051df68c3a0 -->|method| 373c20c7_9b5e_495c_0dde_0cfe0cbe2aaf
  51ce9133_da41_9d97_f9d7_65a1cc59dd90["channelRead0()"]
  92caf88a_50d2_bf93_9666_2051df68c3a0 -->|method| 51ce9133_da41_9d97_f9d7_65a1cc59dd90

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapterTest.java lines 838–853

    private static final class HttpSettingsDelegator extends SimpleChannelInboundHandler<Http2Settings> {
        private final HttpSettingsListener listener;
        private final CountDownLatch latch;

        HttpSettingsDelegator(HttpSettingsListener listener, CountDownLatch latch) {
            super(false);
            this.listener = listener;
            this.latch = latch;
        }

        @Override
        protected void channelRead0(ChannelHandlerContext ctx, Http2Settings settings) throws Exception {
            listener.messageReceived(settings);
            latch.countDown();
        }
    }

Frequently Asked Questions

What is the HttpSettingsDelegator class?
HttpSettingsDelegator is a class in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapterTest.java.
Where is HttpSettingsDelegator defined?
HttpSettingsDelegator is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapterTest.java at line 838.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free