dataWriteShouldCreateHalfClosedStream() — netty Function Reference
Architecture documentation for the dataWriteShouldCreateHalfClosedStream() function in DefaultHttp2ConnectionEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3812eb1e_332f_016f_0f6c_e6145ee85d20["dataWriteShouldCreateHalfClosedStream()"] aef19477_9a1f_48c4_824a_17c7f3ecbb10["DefaultHttp2ConnectionEncoderTest"] 3812eb1e_332f_016f_0f6c_e6145ee85d20 -->|defined in| aef19477_9a1f_48c4_824a_17c7f3ecbb10 28f0aa39_bbbc_f7c5_14c5_1a7106a5f5a4["writeAllFlowControlledFrames()"] 3812eb1e_332f_016f_0f6c_e6145ee85d20 -->|calls| 28f0aa39_bbbc_f7c5_14c5_1a7106a5f5a4 style 3812eb1e_332f_016f_0f6c_e6145ee85d20 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java lines 730–743
@Test
public void dataWriteShouldCreateHalfClosedStream() throws Exception {
writeAllFlowControlledFrames();
Http2Stream stream = createStream(STREAM_ID, false);
ByteBuf data = dummyData();
ChannelPromise promise = newPromise();
encoder.writeData(ctx, STREAM_ID, data.retain(), 0, true, promise);
assertTrue(promise.isSuccess());
verify(remoteFlow).addFlowControlled(eq(stream), any(FlowControlled.class));
verify(lifecycleManager).closeStreamLocal(stream, promise);
assertEquals(data.toString(UTF_8), writtenData.get(0));
data.release();
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does dataWriteShouldCreateHalfClosedStream() do?
dataWriteShouldCreateHalfClosedStream() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java.
Where is dataWriteShouldCreateHalfClosedStream() defined?
dataWriteShouldCreateHalfClosedStream() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java at line 730.
What does dataWriteShouldCreateHalfClosedStream() call?
dataWriteShouldCreateHalfClosedStream() calls 1 function(s): writeAllFlowControlledFrames.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free