write() — netty Function Reference
Architecture documentation for the write() function in SpdySessionHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 07a6926c_53d4_0712_b28c_9bfc902c90c9["write()"] 1fb79984_fd8e_cecc_3934_20ed3529f561["SpdySessionHandler"] 07a6926c_53d4_0712_b28c_9bfc902c90c9 -->|defined in| 1fb79984_fd8e_cecc_3934_20ed3529f561 ec4cd550_8624_c011_7fc2_e23fed71bcc1["handleOutboundMessage()"] ec4cd550_8624_c011_7fc2_e23fed71bcc1 -->|calls| 07a6926c_53d4_0712_b28c_9bfc902c90c9 ec4cd550_8624_c011_7fc2_e23fed71bcc1["handleOutboundMessage()"] 07a6926c_53d4_0712_b28c_9bfc902c90c9 -->|calls| ec4cd550_8624_c011_7fc2_e23fed71bcc1 style 07a6926c_53d4_0712_b28c_9bfc902c90c9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java lines 435–451
@Override
public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception {
if (msg instanceof SpdyDataFrame ||
msg instanceof SpdySynStreamFrame ||
msg instanceof SpdySynReplyFrame ||
msg instanceof SpdyRstStreamFrame ||
msg instanceof SpdySettingsFrame ||
msg instanceof SpdyPingFrame ||
msg instanceof SpdyGoAwayFrame ||
msg instanceof SpdyHeadersFrame ||
msg instanceof SpdyWindowUpdateFrame) {
handleOutboundMessage(ctx, msg, promise);
} else {
ctx.write(msg, promise);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does write() do?
write() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java.
Where is write() defined?
write() is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdySessionHandler.java at line 435.
What does write() call?
write() calls 1 function(s): handleOutboundMessage.
What calls write()?
write() is called by 1 function(s): handleOutboundMessage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free