userEventTriggered() — netty Function Reference
Architecture documentation for the userEventTriggered() function in ByteToMessageDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ab602044_9473_9c14_7996_e621314c7184["userEventTriggered()"] efe4959f_3296_dbb1_4a4b_76b9d7ccec55["ByteToMessageDecoder"] ab602044_9473_9c14_7996_e621314c7184 -->|defined in| efe4959f_3296_dbb1_4a4b_76b9d7ccec55 1ab7897f_cdf1_0b3e_43e2_77270fef19fa["channelInputClosed()"] ab602044_9473_9c14_7996_e621314c7184 -->|calls| 1ab7897f_cdf1_0b3e_43e2_77270fef19fa style ab602044_9473_9c14_7996_e621314c7184 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-base/src/main/java/io/netty/handler/codec/ByteToMessageDecoder.java lines 395–404
@Override
public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {
if (evt instanceof ChannelInputShutdownEvent) {
// The decodeLast method is invoked when a channelInactive event is encountered.
// This method is responsible for ending requests in some situations and must be called
// when the input has been shutdown.
channelInputClosed(ctx, false);
}
super.userEventTriggered(ctx, evt);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does userEventTriggered() do?
userEventTriggered() is a function in the netty codebase, defined in codec-base/src/main/java/io/netty/handler/codec/ByteToMessageDecoder.java.
Where is userEventTriggered() defined?
userEventTriggered() is defined in codec-base/src/main/java/io/netty/handler/codec/ByteToMessageDecoder.java at line 395.
What does userEventTriggered() call?
userEventTriggered() calls 1 function(s): channelInputClosed.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free