ChannelFuture() — netty Function Reference
Architecture documentation for the ChannelFuture() function in Http2ConnectionHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5a2717bb_a09f_c4b8_aa31_04da9af61e7f["ChannelFuture()"] a9ab361d_2417_0366_d9d0_ae1adb2145dc["Http2ConnectionHandler"] 5a2717bb_a09f_c4b8_aa31_04da9af61e7f -->|defined in| a9ab361d_2417_0366_d9d0_ae1adb2145dc 20d99902_34b1_6738_cd14_e4af705734d8["closeConnectionOnError()"] 5a2717bb_a09f_c4b8_aa31_04da9af61e7f -->|calls| 20d99902_34b1_6738_cd14_e4af705734d8 8e97cadb_d2af_9d50_dcbc_1c06799cfa51["processRstStreamWriteResult()"] 5a2717bb_a09f_c4b8_aa31_04da9af61e7f -->|calls| 8e97cadb_d2af_9d50_dcbc_1c06799cfa51 1cee60a0_8f17_5766_d0e0_5a2a786a1ab0["processGoAwayWriteResult()"] 5a2717bb_a09f_c4b8_aa31_04da9af61e7f -->|calls| 1cee60a0_8f17_5766_d0e0_5a2a786a1ab0 style 5a2717bb_a09f_c4b8_aa31_04da9af61e7f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java lines 765–774
private ChannelFuture resetUnknownStream(final ChannelHandlerContext ctx, int streamId, long errorCode,
ChannelPromise promise) {
ChannelFuture future = frameWriter().writeRstStream(ctx, streamId, errorCode, promise);
if (future.isDone()) {
closeConnectionOnError(ctx, future);
} else {
future.addListener((ChannelFutureListener) f -> closeConnectionOnError(ctx, f));
}
return future;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ChannelFuture() do?
ChannelFuture() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java.
Where is ChannelFuture() defined?
ChannelFuture() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java at line 765.
What does ChannelFuture() call?
ChannelFuture() calls 3 function(s): closeConnectionOnError, processGoAwayWriteResult, processRstStreamWriteResult.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free