Home / Class/ HttpClientCodecWrapper Class — netty Architecture

HttpClientCodecWrapper Class — netty Architecture

Architecture documentation for the HttpClientCodecWrapper class in HttpProxyHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf["HttpClientCodecWrapper"]
  39b60d5f_2d6d_6316_a4f9_8bff945ed606["HttpProxyHandler.java"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|defined in| 39b60d5f_2d6d_6316_a4f9_8bff945ed606
  88212f65_4d2d_205a_f262_927c3805eee9["handlerAdded()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| 88212f65_4d2d_205a_f262_927c3805eee9
  3b61489c_fb7b_f7c5_02b4_1639eb24a6aa["handlerRemoved()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| 3b61489c_fb7b_f7c5_02b4_1639eb24a6aa
  bbbd6d40_1cd3_64e2_b820_1c5c8648f0cb["exceptionCaught()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| bbbd6d40_1cd3_64e2_b820_1c5c8648f0cb
  896bb35d_347f_f409_c094_b3f333c13f25["channelRegistered()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| 896bb35d_347f_f409_c094_b3f333c13f25
  6fd6bbda_9e0f_e673_bd72_df69df95f578["channelUnregistered()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| 6fd6bbda_9e0f_e673_bd72_df69df95f578
  918f1703_f876_1fbc_108d_e74302effde1["channelActive()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| 918f1703_f876_1fbc_108d_e74302effde1
  9d07e1da_fb2f_4481_bda5_22065ece5e3d["channelInactive()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| 9d07e1da_fb2f_4481_bda5_22065ece5e3d
  de620134_9b21_fea7_6300_250030c34fbd["channelRead()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| de620134_9b21_fea7_6300_250030c34fbd
  0424f115_4906_59b4_0690_4791771eade0["channelReadComplete()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| 0424f115_4906_59b4_0690_4791771eade0
  b9d9ef7e_ebcf_bd9b_f0ee_a02879044495["userEventTriggered()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| b9d9ef7e_ebcf_bd9b_f0ee_a02879044495
  50456df2_363d_0aa7_cae3_57f23794d2ca["channelWritabilityChanged()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| 50456df2_363d_0aa7_cae3_57f23794d2ca
  39335238_7930_92d8_1107_b7d4cde90a5a["bind()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| 39335238_7930_92d8_1107_b7d4cde90a5a
  fe5a3172_a439_633b_b0e7_c88f16658b03["connect()"]
  bf28883c_46d5_5c28_8fd2_8cc08f9856bf -->|method| fe5a3172_a439_633b_b0e7_c88f16658b03

Relationship Graph

Source Code

handler-proxy/src/main/java/io/netty/handler/proxy/HttpProxyHandler.java lines 244–343

    private static final class HttpClientCodecWrapper implements ChannelInboundHandler, ChannelOutboundHandler {
        final HttpClientCodec codec = new HttpClientCodec();

        @Override
        public void handlerAdded(ChannelHandlerContext ctx) throws Exception {
            codec.handlerAdded(ctx);
        }

        @Override
        public void handlerRemoved(ChannelHandlerContext ctx) throws Exception {
            codec.handlerRemoved(ctx);
        }

        @Override
        public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
            codec.exceptionCaught(ctx, cause);
        }

        @Override
        public void channelRegistered(ChannelHandlerContext ctx) throws Exception {
            codec.channelRegistered(ctx);
        }

        @Override
        public void channelUnregistered(ChannelHandlerContext ctx) throws Exception {
            codec.channelUnregistered(ctx);
        }

        @Override
        public void channelActive(ChannelHandlerContext ctx) throws Exception {
            codec.channelActive(ctx);
        }

        @Override
        public void channelInactive(ChannelHandlerContext ctx) throws Exception {
            codec.channelInactive(ctx);
        }

        @Override
        public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
            codec.channelRead(ctx, msg);
        }

        @Override
        public void channelReadComplete(ChannelHandlerContext ctx) throws Exception {
            codec.channelReadComplete(ctx);
        }

        @Override
        public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {
            codec.userEventTriggered(ctx, evt);
        }

        @Override
        public void channelWritabilityChanged(ChannelHandlerContext ctx) throws Exception {
            codec.channelWritabilityChanged(ctx);
        }

        @Override
        public void bind(ChannelHandlerContext ctx, SocketAddress localAddress,
                         ChannelPromise promise) throws Exception {
            codec.bind(ctx, localAddress, promise);
        }

        @Override
        public void connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress,
                            ChannelPromise promise) throws Exception {
            codec.connect(ctx, remoteAddress, localAddress, promise);
        }

        @Override
        public void disconnect(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
            codec.disconnect(ctx, promise);
        }

        @Override
        public void close(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
            codec.close(ctx, promise);
        }

        @Override

Frequently Asked Questions

What is the HttpClientCodecWrapper class?
HttpClientCodecWrapper is a class in the netty codebase, defined in handler-proxy/src/main/java/io/netty/handler/proxy/HttpProxyHandler.java.
Where is HttpClientCodecWrapper defined?
HttpClientCodecWrapper is defined in handler-proxy/src/main/java/io/netty/handler/proxy/HttpProxyHandler.java at line 244.

Analyze Your Own Codebase

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

Try Supermodel Free