sendCancelPushIfFailed() — netty Function Reference
Architecture documentation for the sendCancelPushIfFailed() function in Http3ServerPushStreamManager.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f7f83c18_1172_f883_a999_7a89c74f22f0["sendCancelPushIfFailed()"] 603de3da_f437_97ed_be00_9d4c1ccef895["Http3ServerPushStreamManager"] f7f83c18_1172_f883_a999_7a89c74f22f0 -->|defined in| 603de3da_f437_97ed_be00_9d4c1ccef895 e310e1cb_513a_082a_cdaa_ab9c5f6cb01f["setupCancelPushIfStreamCreationFails()"] e310e1cb_513a_082a_cdaa_ab9c5f6cb01f -->|calls| f7f83c18_1172_f883_a999_7a89c74f22f0 style f7f83c18_1172_f883_a999_7a89c74f22f0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ServerPushStreamManager.java lines 281–289
private static void sendCancelPushIfFailed(Future<QuicStreamChannel> future, long pushId, QuicChannel channel) {
// https://quicwg.org/base-drafts/draft-ietf-quic-http.html#name-cancel_push
// If we can not establish the stream, we can not send the promised push response, so send a CANCEL_PUSH
if (!future.isSuccess()) {
final QuicStreamChannel localControlStream = Http3.getLocalControlStream(channel);
assert localControlStream != null;
localControlStream.writeAndFlush(new DefaultHttp3CancelPushFrame(pushId));
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does sendCancelPushIfFailed() do?
sendCancelPushIfFailed() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ServerPushStreamManager.java.
Where is sendCancelPushIfFailed() defined?
sendCancelPushIfFailed() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ServerPushStreamManager.java at line 281.
What calls sendCancelPushIfFailed()?
sendCancelPushIfFailed() is called by 1 function(s): setupCancelPushIfStreamCreationFails.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free