Home / Function/ Http2FrameCodec() — netty Function Reference

Http2FrameCodec() — netty Function Reference

Architecture documentation for the Http2FrameCodec() function in Http2ChannelDuplexHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  96eeb87d_50f1_a2d9_0770_1446ea4ebc00["Http2FrameCodec()"]
  54f99180_cc75_9d7d_df61_637bf63d8deb["Http2ChannelDuplexHandler"]
  96eeb87d_50f1_a2d9_0770_1446ea4ebc00 -->|defined in| 54f99180_cc75_9d7d_df61_637bf63d8deb
  style 96eeb87d_50f1_a2d9_0770_1446ea4ebc00 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ChannelDuplexHandler.java lines 84–91

    private static Http2FrameCodec requireHttp2FrameCodec(ChannelHandlerContext ctx) {
        ChannelHandlerContext frameCodecCtx = ctx.pipeline().context(Http2FrameCodec.class);
        if (frameCodecCtx == null) {
            throw new IllegalArgumentException(Http2FrameCodec.class.getSimpleName()
                                               + " was not found in the channel pipeline.");
        }
        return (Http2FrameCodec) frameCodecCtx.handler();
    }

Domain

Subdomains

Frequently Asked Questions

What does Http2FrameCodec() do?
Http2FrameCodec() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ChannelDuplexHandler.java.
Where is Http2FrameCodec() defined?
Http2FrameCodec() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ChannelDuplexHandler.java at line 84.

Analyze Your Own Codebase

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

Try Supermodel Free