Home / Function/ onHttp2UnknownStreamError() — netty Function Reference

onHttp2UnknownStreamError() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  72d7b453_4a19_1b18_852e_1691b32b0f44["onHttp2UnknownStreamError()"]
  ba77a225_4637_fe77_ee1f_54a9774ca7f8["Http2FrameCodec"]
  72d7b453_4a19_1b18_852e_1691b32b0f44 -->|defined in| ba77a225_4637_fe77_ee1f_54a9774ca7f8
  1a1676e6_9f4d_15dc_7bf4_95b745c05c57["onStreamError()"]
  1a1676e6_9f4d_15dc_7bf4_95b745c05c57 -->|calls| 72d7b453_4a19_1b18_852e_1691b32b0f44
  style 72d7b453_4a19_1b18_852e_1691b32b0f44 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java lines 574–583

    private static void onHttp2UnknownStreamError(@SuppressWarnings("unused") ChannelHandlerContext ctx,
            Throwable cause, Http2Exception.StreamException streamException) {
        // We log here for debugging purposes. This exception will be propagated to the upper layers through other ways:
        // - fireExceptionCaught
        // - fireUserEventTriggered(Http2ResetFrame), see Http2MultiplexHandler#channelRead(...)
        // - by failing write promise
        // Receiver of the error is responsible for correct handling of this exception.
        LOG.log(DEBUG, "{} Stream exception thrown for unknown stream {}.",
                ctx.channel(), streamException.streamId(), cause);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does onHttp2UnknownStreamError() do?
onHttp2UnknownStreamError() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java.
Where is onHttp2UnknownStreamError() defined?
onHttp2UnknownStreamError() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java at line 574.
What calls onHttp2UnknownStreamError()?
onHttp2UnknownStreamError() is called by 1 function(s): onStreamError.

Analyze Your Own Codebase

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

Try Supermodel Free