Home / Function/ canCloseStreamWithVoidPromise() — netty Function Reference

canCloseStreamWithVoidPromise() — netty Function Reference

Architecture documentation for the canCloseStreamWithVoidPromise() function in Http2ConnectionHandlerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  36d95a83_05f8_49af_6310_8921353c344e["canCloseStreamWithVoidPromise()"]
  e8b32c7d_fa9d_422b_0744_82047ac00ea5["Http2ConnectionHandlerTest"]
  36d95a83_05f8_49af_6310_8921353c344e -->|defined in| e8b32c7d_fa9d_422b_0744_82047ac00ea5
  style 36d95a83_05f8_49af_6310_8921353c344e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java lines 726–732

    @Test
    public void canCloseStreamWithVoidPromise() throws Exception {
        handler = newHandler();
        handler.closeStream(stream, ctx.voidPromise().setSuccess());
        verify(stream, times(1)).close();
        verifyNoMoreInteractions(stream);
    }

Domain

Subdomains

Frequently Asked Questions

What does canCloseStreamWithVoidPromise() do?
canCloseStreamWithVoidPromise() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java.
Where is canCloseStreamWithVoidPromise() defined?
canCloseStreamWithVoidPromise() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java at line 726.

Analyze Your Own Codebase

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

Try Supermodel Free