onConnectionError() — netty Function Reference
Architecture documentation for the onConnectionError() function in Http2FrameCodec.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 05085208_74e5_29a6_8058_8763c6351614["onConnectionError()"] ba77a225_4637_fe77_ee1f_54a9774ca7f8["Http2FrameCodec"] 05085208_74e5_29a6_8058_8763c6351614 -->|defined in| ba77a225_4637_fe77_ee1f_54a9774ca7f8 style 05085208_74e5_29a6_8058_8763c6351614 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java lines 531–542
@Override
protected void onConnectionError(
ChannelHandlerContext ctx, boolean outbound, Throwable cause, Http2Exception http2Ex) {
if (!outbound) {
// allow the user to handle it first in the pipeline, and then automatically clean up.
// If this is not desired behavior the user can override this method.
//
// We only forward non outbound errors as outbound errors will already be reflected by failing the promise.
ctx.fireExceptionCaught(cause);
}
super.onConnectionError(ctx, outbound, cause, http2Ex);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does onConnectionError() do?
onConnectionError() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java.
Where is onConnectionError() defined?
onConnectionError() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java at line 531.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free