handleEndOfInputFuture() — netty Function Reference
Architecture documentation for the handleEndOfInputFuture() function in ChunkedWriteHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 12066d6b_de59_74be_d499_8c490cf6271c["handleEndOfInputFuture()"] 1e2ef44e_6c44_8584_e44f_ddda636afcfc["ChunkedWriteHandler"] 12066d6b_de59_74be_d499_8c490cf6271c -->|defined in| 1e2ef44e_6c44_8584_e44f_ddda636afcfc fea31415_af69_2ea8_b80b_97ecc8e7b566["doFlush()"] fea31415_af69_2ea8_b80b_97ecc8e7b566 -->|calls| 12066d6b_de59_74be_d499_8c490cf6271c 53f15a4d_7833_59bc_0644_b2f3ba06936e["closeInput()"] 12066d6b_de59_74be_d499_8c490cf6271c -->|calls| 53f15a4d_7833_59bc_0644_b2f3ba06936e 570121a6_3ee2_7394_cad2_8834a8f7c228["fail()"] 12066d6b_de59_74be_d499_8c490cf6271c -->|calls| 570121a6_3ee2_7394_cad2_8834a8f7c228 464c9d74_679e_a677_e746_4716bb059494["progress()"] 12066d6b_de59_74be_d499_8c490cf6271c -->|calls| 464c9d74_679e_a677_e746_4716bb059494 5740c2cb_0395_da33_c095_2ffbce33d38d["success()"] 12066d6b_de59_74be_d499_8c490cf6271c -->|calls| 5740c2cb_0395_da33_c095_2ffbce33d38d style 12066d6b_de59_74be_d499_8c490cf6271c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java lines 330–342
private static void handleEndOfInputFuture(ChannelFuture future, ChunkedInput<?> input, PendingWrite currentWrite) {
if (!future.isSuccess()) {
closeInput(input);
currentWrite.fail(future.cause());
} else {
// read state of the input in local variables before closing it
long inputProgress = input.progress();
long inputLength = input.length();
closeInput(input);
currentWrite.progress(inputProgress, inputLength);
currentWrite.success(inputLength);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does handleEndOfInputFuture() do?
handleEndOfInputFuture() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java.
Where is handleEndOfInputFuture() defined?
handleEndOfInputFuture() is defined in handler/src/main/java/io/netty/handler/stream/ChunkedWriteHandler.java at line 330.
What does handleEndOfInputFuture() call?
handleEndOfInputFuture() calls 4 function(s): closeInput, fail, progress, success.
What calls handleEndOfInputFuture()?
handleEndOfInputFuture() is called by 1 function(s): doFlush.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free