Home / Type/ SourceCodec Type — netty Architecture

SourceCodec Type — netty Architecture

Architecture documentation for the SourceCodec type/interface in HttpClientUpgradeHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  06f88ee3_c74b_7b38_8a8c_2df7fe96b37d["SourceCodec"]
  ce099943_c46d_ed39_bb85_d07243f07181["HttpClientUpgradeHandler.java"]
  06f88ee3_c74b_7b38_8a8c_2df7fe96b37d -->|defined in| ce099943_c46d_ed39_bb85_d07243f07181
  style 06f88ee3_c74b_7b38_8a8c_2df7fe96b37d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpClientUpgradeHandler.java lines 66–78

    public interface SourceCodec {

        /**
         * Removes or disables the encoder of this codec so that the {@link UpgradeCodec} can send an initial greeting
         * (if any).
         */
        void prepareUpgradeFrom(ChannelHandlerContext ctx);

        /**
         * Removes this codec (i.e. all associated handlers) from the pipeline.
         */
        void upgradeFrom(ChannelHandlerContext ctx);
    }

Frequently Asked Questions

What is the SourceCodec type?
SourceCodec is a type/interface in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpClientUpgradeHandler.java.
Where is SourceCodec defined?
SourceCodec is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpClientUpgradeHandler.java at line 66.

Analyze Your Own Codebase

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

Try Supermodel Free