Home / Class/ WriteInboundChannelHandlerContext Class — netty Architecture

WriteInboundChannelHandlerContext Class — netty Architecture

Architecture documentation for the WriteInboundChannelHandlerContext class in Http2FrameInboundWriter.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  577bf7d7_2729_ab86_e27a_0a38a5360aa8["WriteInboundChannelHandlerContext"]
  db89c011_4d0b_28cc_edb1_5ae078c76d93["Http2FrameInboundWriter.java"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|defined in| db89c011_4d0b_28cc_edb1_5ae078c76d93
  fadfb274_ee20_7733_2221_03176197b402["WriteInboundChannelHandlerContext()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| fadfb274_ee20_7733_2221_03176197b402
  8e31a031_7ce6_5eb9_eb01_766ee9d3bd6b["Channel()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| 8e31a031_7ce6_5eb9_eb01_766ee9d3bd6b
  8e5fb3e2_2891_1440_fdc2_bb5abaf2574e["EventExecutor()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| 8e5fb3e2_2891_1440_fdc2_bb5abaf2574e
  45d3ba57_dc43_1367_5004_ea483929dc1b["String()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| 45d3ba57_dc43_1367_5004_ea483929dc1b
  12978452_02de_c0b3_a7c0_79c66225a813["ChannelHandler()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| 12978452_02de_c0b3_a7c0_79c66225a813
  9bb51a9c_a092_ee74_f4f3_19e5763182d2["isRemoved()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| 9bb51a9c_a092_ee74_f4f3_19e5763182d2
  2d1fb453_6deb_e1f0_1472_25aa468b3ba8["ChannelHandlerContext()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| 2d1fb453_6deb_e1f0_1472_25aa468b3ba8
  a36c3b99_5450_ccf9_1371_8a205e24cc3c["ChannelPipeline()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| a36c3b99_5450_ccf9_1371_8a205e24cc3c
  d10c2e94_2eae_15b3_181e_e3e144025f21["ByteBufAllocator()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| d10c2e94_2eae_15b3_181e_e3e144025f21
  2a731d8d_03f9_2480_4b85_06a62057e2df["attr()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| 2a731d8d_03f9_2480_4b85_06a62057e2df
  4878ae62_6622_4a8e_01fd_cdb1ae8a0afe["hasAttr()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| 4878ae62_6622_4a8e_01fd_cdb1ae8a0afe
  ef89c7b9_5ad4_c1bd_43bc_5de76b810117["ChannelFuture()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| ef89c7b9_5ad4_c1bd_43bc_5de76b810117
  65193181_7d6a_21b0_a925_f76bb7dd8e9c["ChannelPromise()"]
  577bf7d7_2729_ab86_e27a_0a38a5360aa8 -->|method| 65193181_7d6a_21b0_a925_f76bb7dd8e9c

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameInboundWriter.java lines 109–339

    private static final class WriteInboundChannelHandlerContext extends ChannelOutboundHandlerAdapter
            implements ChannelHandlerContext {
        private final EmbeddedChannel channel;

        WriteInboundChannelHandlerContext(EmbeddedChannel channel) {
            this.channel = channel;
        }

        @Override
        public Channel channel() {
            return channel;
        }

        @Override
        public EventExecutor executor() {
            return channel.eventLoop();
        }

        @Override
        public String name() {
            return "WriteInbound";
        }

        @Override
        public ChannelHandler handler() {
            return this;
        }

        @Override
        public boolean isRemoved() {
            return false;
        }

        @Override
        public ChannelHandlerContext fireChannelRegistered() {
            channel.pipeline().fireChannelRegistered();
            return this;
        }

        @Override
        public ChannelHandlerContext fireChannelUnregistered() {
            channel.pipeline().fireChannelUnregistered();
            return this;
        }

        @Override
        public ChannelHandlerContext fireChannelActive() {
            channel.pipeline().fireChannelActive();
            return this;
        }

        @Override
        public ChannelHandlerContext fireChannelInactive() {
            channel.pipeline().fireChannelInactive();
            return this;
        }

        @Override
        public ChannelHandlerContext fireExceptionCaught(Throwable cause) {
            channel.pipeline().fireExceptionCaught(cause);
            return this;
        }

        @Override
        public ChannelHandlerContext fireUserEventTriggered(Object evt) {
            channel.pipeline().fireUserEventTriggered(evt);
            return this;
        }

        @Override
        public ChannelHandlerContext fireChannelRead(Object msg) {
            channel.pipeline().fireChannelRead(msg);
            return this;
        }

        @Override
        public ChannelHandlerContext fireChannelReadComplete() {
            channel.pipeline().fireChannelReadComplete();
            return this;
        }

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free