Home / Type/ UpgradeEvent Type — netty Architecture

UpgradeEvent Type — netty Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpClientUpgradeHandler.java lines 45–61

    public enum UpgradeEvent {
        /**
         * The Upgrade request was sent to the server.
         */
        UPGRADE_ISSUED,

        /**
         * The Upgrade to the new protocol was successful.
         */
        UPGRADE_SUCCESSFUL,

        /**
         * The Upgrade was unsuccessful due to the server not issuing
         * with a 101 Switching Protocols response.
         */
        UPGRADE_REJECTED
    }

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free