Home / Function/ onRstStreamRead() — netty Function Reference

onRstStreamRead() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  5f909953_5fdd_34c9_dc10_f090512a3967["onRstStreamRead()"]
  aed86996_f518_c45d_5bdf_47241b8bdd57["InboundHttp2ToHttpAdapter"]
  5f909953_5fdd_34c9_dc10_f090512a3967 -->|defined in| aed86996_f518_c45d_5bdf_47241b8bdd57
  662defdf_c364_32c0_c283_775e72f3676f["removeMessage()"]
  5f909953_5fdd_34c9_dc10_f090512a3967 -->|calls| 662defdf_c364_32c0_c283_775e72f3676f
  style 5f909953_5fdd_34c9_dc10_f090512a3967 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapter.java lines 279–288

    @Override
    public void onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode) throws Http2Exception {
        Http2Stream stream = connection.stream(streamId);
        FullHttpMessage msg = getMessage(stream);
        if (msg != null) {
            onRstStreamRead(stream, msg);
        }
        ctx.fireExceptionCaught(Http2Exception.streamError(streamId, Http2Error.valueOf(errorCode),
                "HTTP/2 to HTTP layer caught stream reset"));
    }

Domain

Subdomains

Frequently Asked Questions

What does onRstStreamRead() do?
onRstStreamRead() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapter.java.
Where is onRstStreamRead() defined?
onRstStreamRead() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/InboundHttp2ToHttpAdapter.java at line 279.
What does onRstStreamRead() call?
onRstStreamRead() calls 1 function(s): removeMessage.

Analyze Your Own Codebase

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

Try Supermodel Free