Home / Function/ halfCloseStream() — netty Function Reference

halfCloseStream() — netty Function Reference

Architecture documentation for the halfCloseStream() function in SpdySessionHandler.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  fd4b4a14_de0e_f563_d7f8_c8f51694e4f6["halfCloseStream()"]
  1fb79984_fd8e_cecc_3934_20ed3529f561["SpdySessionHandler"]
  fd4b4a14_de0e_f563_d7f8_c8f51694e4f6 -->|defined in| 1fb79984_fd8e_cecc_3934_20ed3529f561
  d2ae1d21_cf0c_c4d0_e046_efc746940057["channelRead()"]
  d2ae1d21_cf0c_c4d0_e046_efc746940057 -->|calls| fd4b4a14_de0e_f563_d7f8_c8f51694e4f6
  ec4cd550_8624_c011_7fc2_e23fed71bcc1["handleOutboundMessage()"]
  ec4cd550_8624_c011_7fc2_e23fed71bcc1 -->|calls| fd4b4a14_de0e_f563_d7f8_c8f51694e4f6
  0bbd9d3a_603a_1f42_0a30_c790b2a786c5["updateSendWindowSize()"]
  0bbd9d3a_603a_1f42_0a30_c790b2a786c5 -->|calls| fd4b4a14_de0e_f563_d7f8_c8f51694e4f6
  05b1923a_38e1_1014_132a_6e3154a42d84["isRemoteInitiatedId()"]
  fd4b4a14_de0e_f563_d7f8_c8f51694e4f6 -->|calls| 05b1923a_38e1_1014_132a_6e3154a42d84
  style fd4b4a14_de0e_f563_d7f8_c8f51694e4f6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java lines 725–734

    private void halfCloseStream(int streamId, boolean remote, ChannelFuture future) {
        if (remote) {
            spdySession.closeRemoteSide(streamId, isRemoteInitiatedId(streamId));
        } else {
            spdySession.closeLocalSide(streamId, isRemoteInitiatedId(streamId));
        }
        if (closeSessionFutureListener != null && spdySession.noActiveStreams()) {
            future.addListener(closeSessionFutureListener);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does halfCloseStream() do?
halfCloseStream() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java.
Where is halfCloseStream() defined?
halfCloseStream() is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java at line 725.
What does halfCloseStream() call?
halfCloseStream() calls 1 function(s): isRemoteInitiatedId.
What calls halfCloseStream()?
halfCloseStream() is called by 3 function(s): channelRead, handleOutboundMessage, updateSendWindowSize.

Analyze Your Own Codebase

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

Try Supermodel Free