Home / Type/ State Type — netty Architecture

State Type — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  8094c5f4_d6e1_0b10_c8b2_2a508ff2ec13["State"]
  b9aeddc0_c06c_00a2_5cad_700bb9950817["RedisDecoder.java"]
  8094c5f4_d6e1_0b10_c8b2_2a508ff2ec13 -->|defined in| b9aeddc0_c06c_00a2_5cad_700bb9950817
  style 8094c5f4_d6e1_0b10_c8b2_2a508ff2ec13 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-redis/src/main/java/io/netty/handler/codec/redis/RedisDecoder.java lines 48–54

    private enum State {
        DECODE_TYPE,
        DECODE_INLINE, // SIMPLE_STRING, ERROR, INTEGER
        DECODE_LENGTH, // BULK_STRING, ARRAY_HEADER
        DECODE_BULK_STRING_EOL,
        DECODE_BULK_STRING_CONTENT,
    }

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free