write() — netty Function Reference
Architecture documentation for the write() function in QpackEncoderDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c464a4be_305a_2934_2bee_709f279ff7f9["write()"] 62ec3f73_4eae_c152_0034_4de8ce7bf7cb["ForwardWriteToReadOnOtherHandler"] c464a4be_305a_2934_2bee_709f279ff7f9 -->|defined in| 62ec3f73_4eae_c152_0034_4de8ce7bf7cb style c464a4be_305a_2934_2bee_709f279ff7f9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/test/java/io/netty/handler/codec/http3/QpackEncoderDecoderTest.java lines 527–541
@Override
public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception {
if (msg instanceof ByteBuf) {
if (suspendQueue != null) {
suspendQueue.offer(() -> {
other.channelRead(ctx, msg);
return null;
});
} else {
other.channelRead(ctx, msg);
}
} else {
super.write(ctx, msg, promise);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does write() do?
write() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackEncoderDecoderTest.java.
Where is write() defined?
write() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackEncoderDecoderTest.java at line 527.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free