Home / Function/ criticalStreamClosed() — netty Function Reference

criticalStreamClosed() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8dff0eed_dbab_de6c_266d_5cdffb7e0593["criticalStreamClosed()"]
  2d36ae1b_0899_d9aa_9040_95c1421cfa14["Http3CodecUtils"]
  8dff0eed_dbab_de6c_266d_5cdffb7e0593 -->|defined in| 2d36ae1b_0899_d9aa_9040_95c1421cfa14
  8d1cb03b_de14_d2f0_ab35_48ea3942bd41["connectionError()"]
  8dff0eed_dbab_de6c_266d_5cdffb7e0593 -->|calls| 8d1cb03b_de14_d2f0_ab35_48ea3942bd41
  style 8dff0eed_dbab_de6c_266d_5cdffb7e0593 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3CodecUtils.java lines 209–215

    static void criticalStreamClosed(ChannelHandlerContext ctx) {
        if (ctx.channel().parent().isActive()) {
            // Stream was closed while the parent channel is still active
            Http3CodecUtils.connectionError(
                    ctx, Http3ErrorCode.H3_CLOSED_CRITICAL_STREAM, "Critical stream closed.", false);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does criticalStreamClosed() do?
criticalStreamClosed() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3CodecUtils.java.
Where is criticalStreamClosed() defined?
criticalStreamClosed() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3CodecUtils.java at line 209.
What does criticalStreamClosed() call?
criticalStreamClosed() calls 1 function(s): connectionError.

Analyze Your Own Codebase

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

Try Supermodel Free