Home / Type/ UpgradeCodecFactory Type — netty Architecture

UpgradeCodecFactory Type — netty Architecture

Architecture documentation for the UpgradeCodecFactory type/interface in HttpServerUpgradeHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c7c86f6f_b182_9a8d_9133_097c7c5cf978["UpgradeCodecFactory"]
  5d7a491e_b999_dfe7_d7db_9b5071c06005["HttpServerUpgradeHandler.java"]
  c7c86f6f_b182_9a8d_9133_097c7c5cf978 -->|defined in| 5d7a491e_b999_dfe7_d7db_9b5071c06005
  style c7c86f6f_b182_9a8d_9133_097c7c5cf978 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpServerUpgradeHandler.java lines 87–96

    public interface UpgradeCodecFactory {
        /**
         * Invoked by {@link HttpServerUpgradeHandler} for all the requested protocol names in the order of
         * the client preference. The first non-{@code null} {@link UpgradeCodec} returned by this method
         * will be selected.
         *
         * @return a new {@link UpgradeCodec}, or {@code null} if the specified protocol name is not supported
         */
        UpgradeCodec newUpgradeCodec(CharSequence protocol);
    }

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free