firstWriteComplete() — netty Function Reference
Architecture documentation for the firstWriteComplete() function in AbstractHttp2StreamChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f8ca9f49_0ec8_5096_d939_1871f523b5a4["firstWriteComplete()"] 2656dcfe_5cdb_7c7d_bc25_312393fe2e05["Http2ChannelUnsafe"] f8ca9f49_0ec8_5096_d939_1871f523b5a4 -->|defined in| 2656dcfe_5cdb_7c7d_bc25_312393fe2e05 6ba5f11e_f430_02ca_f64c_f9a7338904bf["writeHttp2StreamFrame()"] 6ba5f11e_f430_02ca_f64c_f9a7338904bf -->|calls| f8ca9f49_0ec8_5096_d939_1871f523b5a4 8a1829a9_4ff0_0fdc_6f6f_98fc1f844f84["closeForcibly()"] f8ca9f49_0ec8_5096_d939_1871f523b5a4 -->|calls| 8a1829a9_4ff0_0fdc_6f6f_98fc1f844f84 style f8ca9f49_0ec8_5096_d939_1871f523b5a4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java lines 1115–1124
private void firstWriteComplete(Future<?> future, ChannelPromise promise) {
Throwable cause = future.cause();
if (cause == null) {
promise.setSuccess();
} else {
// If the first write fails there is not much we can do, just close
closeForcibly();
promise.setFailure(wrapStreamClosedError(cause));
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does firstWriteComplete() do?
firstWriteComplete() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java.
Where is firstWriteComplete() defined?
firstWriteComplete() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java at line 1115.
What does firstWriteComplete() call?
firstWriteComplete() calls 1 function(s): closeForcibly.
What calls firstWriteComplete()?
firstWriteComplete() is called by 1 function(s): writeHttp2StreamFrame.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free