processGoAwayWriteResult() — netty Function Reference
Architecture documentation for the processGoAwayWriteResult() function in Http2ConnectionHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1cee60a0_8f17_5766_d0e0_5a2a786a1ab0["processGoAwayWriteResult()"] a9ab361d_2417_0366_d9d0_ae1adb2145dc["Http2ConnectionHandler"] 1cee60a0_8f17_5766_d0e0_5a2a786a1ab0 -->|defined in| a9ab361d_2417_0366_d9d0_ae1adb2145dc 5a2717bb_a09f_c4b8_aa31_04da9af61e7f["ChannelFuture()"] 5a2717bb_a09f_c4b8_aa31_04da9af61e7f -->|calls| 1cee60a0_8f17_5766_d0e0_5a2a786a1ab0 859f94fe_ed5e_1249_ef66_7ee4bcad0137["close()"] 1cee60a0_8f17_5766_d0e0_5a2a786a1ab0 -->|calls| 859f94fe_ed5e_1249_ef66_7ee4bcad0137 style 1cee60a0_8f17_5766_d0e0_5a2a786a1ab0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java lines 917–941
private static void processGoAwayWriteResult(final ChannelHandlerContext ctx, final int lastStreamId,
final long errorCode, final ByteBuf debugData, ChannelFuture future) {
try {
if (future.isSuccess()) {
if (errorCode != NO_ERROR.code()) {
if (logger.isDebugEnabled()) {
logger.debug("{} Sent GOAWAY: lastStreamId '{}', errorCode '{}', " +
"debugData '{}'. Forcing shutdown of the connection.",
ctx.channel(), lastStreamId, errorCode, debugData.toString(UTF_8), future.cause());
}
ctx.close();
}
} else {
if (logger.isDebugEnabled()) {
logger.debug("{} Sending GOAWAY failed: lastStreamId '{}', errorCode '{}', " +
"debugData '{}'. Forcing shutdown of the connection.",
ctx.channel(), lastStreamId, errorCode, debugData.toString(UTF_8), future.cause());
}
ctx.close();
}
} finally {
// We're done with the debug data now.
debugData.release();
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does processGoAwayWriteResult() do?
processGoAwayWriteResult() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java.
Where is processGoAwayWriteResult() defined?
processGoAwayWriteResult() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java at line 917.
What does processGoAwayWriteResult() call?
processGoAwayWriteResult() calls 1 function(s): close.
What calls processGoAwayWriteResult()?
processGoAwayWriteResult() 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