Home / Class/ StreamException Class — netty Architecture

StreamException Class — netty Architecture

Architecture documentation for the StreamException class in Http2Exception.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5596e0c0_05e5_1bf3_535b_40cc3055b426["StreamException"]
  7dd7718e_f2a2_dc12_a584_d41785aa4a88["Http2Exception.java"]
  5596e0c0_05e5_1bf3_535b_40cc3055b426 -->|defined in| 7dd7718e_f2a2_dc12_a584_d41785aa4a88
  c07b8ebf_f2f2_c92e_e615_7918d7b9b357["StreamException()"]
  5596e0c0_05e5_1bf3_535b_40cc3055b426 -->|method| c07b8ebf_f2f2_c92e_e615_7918d7b9b357
  20824bfb_8498_c194_f57c_4c5c008a5c39["streamId()"]
  5596e0c0_05e5_1bf3_535b_40cc3055b426 -->|method| 20824bfb_8498_c194_f57c_4c5c008a5c39

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2Exception.java lines 258–275

    public static class StreamException extends Http2Exception {
        private static final long serialVersionUID = 602472544416984384L;
        private final int streamId;

        StreamException(int streamId, Http2Error error, String message) {
            super(error, message, ShutdownHint.NO_SHUTDOWN);
            this.streamId = streamId;
        }

        StreamException(int streamId, Http2Error error, String message, Throwable cause) {
            super(error, message, cause, ShutdownHint.NO_SHUTDOWN);
            this.streamId = streamId;
        }

        public int streamId() {
            return streamId;
        }
    }

Frequently Asked Questions

What is the StreamException class?
StreamException is a class in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2Exception.java.
Where is StreamException defined?
StreamException is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2Exception.java at line 258.

Analyze Your Own Codebase

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

Try Supermodel Free