Home / Function/ closeStreamLocal() — netty Function Reference

closeStreamLocal() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  270d3174_2efb_a329_7b16_dc9cf23c5280["closeStreamLocal()"]
  a9ab361d_2417_0366_d9d0_ae1adb2145dc["Http2ConnectionHandler"]
  270d3174_2efb_a329_7b16_dc9cf23c5280 -->|defined in| a9ab361d_2417_0366_d9d0_ae1adb2145dc
  fd4297b2_7628_e6f2_5309_be0b1020348e["closeStream()"]
  270d3174_2efb_a329_7b16_dc9cf23c5280 -->|calls| fd4297b2_7628_e6f2_5309_be0b1020348e
  style 270d3174_2efb_a329_7b16_dc9cf23c5280 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java lines 597–608

    @Override
    public void closeStreamLocal(Http2Stream stream, ChannelFuture future) {
        switch (stream.state()) {
            case HALF_CLOSED_LOCAL:
            case OPEN:
                stream.closeLocalSide();
                break;
            default:
                closeStream(stream, future);
                break;
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free