Home / Class/ DefaultChannelHandlerContext Class — netty Architecture

DefaultChannelHandlerContext Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  7ff6bbd0_0019_1a38_e371_9c97f566a29f["DefaultChannelHandlerContext"]
  350a8a3c_b40b_2634_0932_395cc9c039cf["DefaultChannelHandlerContext.java"]
  7ff6bbd0_0019_1a38_e371_9c97f566a29f -->|defined in| 350a8a3c_b40b_2634_0932_395cc9c039cf
  c32205fc_4123_fb3f_5894_01aca84ad3be["DefaultChannelHandlerContext()"]
  7ff6bbd0_0019_1a38_e371_9c97f566a29f -->|method| c32205fc_4123_fb3f_5894_01aca84ad3be
  02f8e25e_d7c9_cc49_9b52_d72c3e302987["ChannelHandler()"]
  7ff6bbd0_0019_1a38_e371_9c97f566a29f -->|method| 02f8e25e_d7c9_cc49_9b52_d72c3e302987

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java lines 20–34

final class DefaultChannelHandlerContext extends AbstractChannelHandlerContext {

    private final ChannelHandler handler;

    DefaultChannelHandlerContext(
            DefaultChannelPipeline pipeline, EventExecutor executor, String name, ChannelHandler handler) {
        super(pipeline, executor, name, handler.getClass());
        this.handler = handler;
    }

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

Frequently Asked Questions

What is the DefaultChannelHandlerContext class?
DefaultChannelHandlerContext is a class in the netty codebase, defined in transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java.
Where is DefaultChannelHandlerContext defined?
DefaultChannelHandlerContext is defined in transport/src/main/java/io/netty/channel/DefaultChannelHandlerContext.java at line 20.

Analyze Your Own Codebase

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

Try Supermodel Free