Home / Function/ SpdyStreamStatus() — netty Function Reference

SpdyStreamStatus() — netty Function Reference

Architecture documentation for the SpdyStreamStatus() function in SpdyStreamStatus.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b66e965c_de3d_925d_7b2d_b19c3c8a96f1["SpdyStreamStatus()"]
  ae0a2b54_89ee_9984_c7bd_0a263ba20d42["SpdyStreamStatus"]
  b66e965c_de3d_925d_7b2d_b19c3c8a96f1 -->|defined in| ae0a2b54_89ee_9984_c7bd_0a263ba20d42
  style b66e965c_de3d_925d_7b2d_b19c3c8a96f1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyStreamStatus.java lines 96–128

    public static SpdyStreamStatus valueOf(int code) {
        if (code == 0) {
            throw new IllegalArgumentException(
                    "0 is not a valid status code for a RST_STREAM");
        }

        switch (code) {
        case 1:
            return PROTOCOL_ERROR;
        case 2:
            return INVALID_STREAM;
        case 3:
            return REFUSED_STREAM;
        case 4:
            return UNSUPPORTED_VERSION;
        case 5:
            return CANCEL;
        case 6:
            return INTERNAL_ERROR;
        case 7:
            return FLOW_CONTROL_ERROR;
        case 8:
            return STREAM_IN_USE;
        case 9:
            return STREAM_ALREADY_CLOSED;
        case 10:
            return INVALID_CREDENTIALS;
        case 11:
            return FRAME_TOO_LARGE;
        }

        return new SpdyStreamStatus(code, "UNKNOWN (" + code + ')');
    }

Domain

Subdomains

Frequently Asked Questions

What does SpdyStreamStatus() do?
SpdyStreamStatus() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyStreamStatus.java.
Where is SpdyStreamStatus() defined?
SpdyStreamStatus() is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyStreamStatus.java at line 96.

Analyze Your Own Codebase

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

Try Supermodel Free