Home / Class/ HexDumpProxyInitializer Class — netty Architecture

HexDumpProxyInitializer Class — netty Architecture

Architecture documentation for the HexDumpProxyInitializer class in HexDumpProxyInitializer.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4c5ee580_dbcc_fb7c_0527_90b65297a6c3["HexDumpProxyInitializer"]
  a93a11fc_095e_fa13_c1d5_886ff5235303["HexDumpProxyInitializer.java"]
  4c5ee580_dbcc_fb7c_0527_90b65297a6c3 -->|defined in| a93a11fc_095e_fa13_c1d5_886ff5235303
  5ca025ef_6730_afc4_868f_9e2b1d021fe5["HexDumpProxyInitializer()"]
  4c5ee580_dbcc_fb7c_0527_90b65297a6c3 -->|method| 5ca025ef_6730_afc4_868f_9e2b1d021fe5
  d202eea6_386b_5729_80d0_d82cd0d9d83e["initChannel()"]
  4c5ee580_dbcc_fb7c_0527_90b65297a6c3 -->|method| d202eea6_386b_5729_80d0_d82cd0d9d83e

Relationship Graph

Source Code

example/src/main/java/io/netty/example/proxy/HexDumpProxyInitializer.java lines 23–39

public class HexDumpProxyInitializer extends ChannelInitializer<SocketChannel> {

    private final String remoteHost;
    private final int remotePort;

    public HexDumpProxyInitializer(String remoteHost, int remotePort) {
        this.remoteHost = remoteHost;
        this.remotePort = remotePort;
    }

    @Override
    public void initChannel(SocketChannel ch) {
        ch.pipeline().addLast(
                new LoggingHandler(LogLevel.INFO),
                new HexDumpProxyFrontendHandler(remoteHost, remotePort));
    }
}

Frequently Asked Questions

What is the HexDumpProxyInitializer class?
HexDumpProxyInitializer is a class in the netty codebase, defined in example/src/main/java/io/netty/example/proxy/HexDumpProxyInitializer.java.
Where is HexDumpProxyInitializer defined?
HexDumpProxyInitializer is defined in example/src/main/java/io/netty/example/proxy/HexDumpProxyInitializer.java at line 23.

Analyze Your Own Codebase

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

Try Supermodel Free