Home / Type/ State Type — netty Architecture

State Type — netty Architecture

Architecture documentation for the State type/interface in HttpObjectDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a95d4721_e2da_7681_11cb_8d413d6352f0["State"]
  f15bbbf6_e315_8ba2_24a1_7970ea7b58eb["HttpObjectDecoder.java"]
  a95d4721_e2da_7681_11cb_8d413d6352f0 -->|defined in| f15bbbf6_e315_8ba2_24a1_7970ea7b58eb
  style a95d4721_e2da_7681_11cb_8d413d6352f0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectDecoder.java lines 214–226

    private enum State {
        SKIP_CONTROL_CHARS,
        READ_INITIAL,
        READ_HEADER,
        READ_VARIABLE_LENGTH_CONTENT,
        READ_FIXED_LENGTH_CONTENT,
        READ_CHUNK_SIZE,
        READ_CHUNKED_CONTENT,
        READ_CHUNK_DELIMITER,
        READ_CHUNK_FOOTER,
        BAD_MESSAGE,
        UPGRADED
    }

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free