readWindowUpdateFrame() — netty Function Reference
Architecture documentation for the readWindowUpdateFrame() function in DefaultHttp2FrameReader.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 866df4f3_1a66_9d7b_fa0f_400cd4aa1c50["readWindowUpdateFrame()"] 3768d640_58c2_34e7_3d69_a4b578e0d11a["DefaultHttp2FrameReader"] 866df4f3_1a66_9d7b_fa0f_400cd4aa1c50 -->|defined in| 3768d640_58c2_34e7_3d69_a4b578e0d11a e711693c_32ed_ac69_29f1_ce5694750979["processPayloadState()"] e711693c_32ed_ac69_29f1_ce5694750979 -->|calls| 866df4f3_1a66_9d7b_fa0f_400cd4aa1c50 style 866df4f3_1a66_9d7b_fa0f_400cd4aa1c50 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameReader.java lines 579–594
private void readWindowUpdateFrame(ChannelHandlerContext ctx, ByteBuf payload,
Http2FrameListener listener) throws Http2Exception {
int windowSizeIncrement = readUnsignedInt(payload);
if (windowSizeIncrement == 0) {
// On the connection stream this must be a connection error but for request streams it is a stream error.
// See https://datatracker.ietf.org/doc/html/rfc9113#section-6.9 for details.
if (streamId == CONNECTION_STREAM_ID) {
throw connectionError(PROTOCOL_ERROR,
"Received WINDOW_UPDATE with delta 0 for connection stream");
} else {
throw streamError(streamId, PROTOCOL_ERROR,
"Received WINDOW_UPDATE with delta 0 for stream: %d", streamId);
}
}
listener.onWindowUpdateRead(ctx, streamId, windowSizeIncrement);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does readWindowUpdateFrame() do?
readWindowUpdateFrame() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameReader.java.
Where is readWindowUpdateFrame() defined?
readWindowUpdateFrame() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameReader.java at line 579.
What calls readWindowUpdateFrame()?
readWindowUpdateFrame() is called by 1 function(s): processPayloadState.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free