closeConnectionOnError() — netty Function Reference
Architecture documentation for the closeConnectionOnError() function in Http2ConnectionHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 20d99902_34b1_6738_cd14_e4af705734d8["closeConnectionOnError()"] a9ab361d_2417_0366_d9d0_ae1adb2145dc["Http2ConnectionHandler"] 20d99902_34b1_6738_cd14_e4af705734d8 -->|defined in| a9ab361d_2417_0366_d9d0_ae1adb2145dc 5a2717bb_a09f_c4b8_aa31_04da9af61e7f["ChannelFuture()"] 5a2717bb_a09f_c4b8_aa31_04da9af61e7f -->|calls| 20d99902_34b1_6738_cd14_e4af705734d8 df92c2ff_9755_fb16_8a01_5a190020aec4["onConnectionError()"] 20d99902_34b1_6738_cd14_e4af705734d8 -->|calls| df92c2ff_9755_fb16_8a01_5a190020aec4 style 20d99902_34b1_6738_cd14_e4af705734d8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java lines 899–903
private void closeConnectionOnError(ChannelHandlerContext ctx, ChannelFuture future) {
if (!future.isSuccess()) {
onConnectionError(ctx, true, future.cause(), null);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does closeConnectionOnError() do?
closeConnectionOnError() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java.
Where is closeConnectionOnError() defined?
closeConnectionOnError() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java at line 899.
What does closeConnectionOnError() call?
closeConnectionOnError() calls 1 function(s): onConnectionError.
What calls closeConnectionOnError()?
closeConnectionOnError() is called by 1 function(s): ChannelFuture.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free