removeSelfIfPresent() — netty Function Reference
Architecture documentation for the removeSelfIfPresent() function in ApplicationProtocolNegotiationHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ff97ac71_5935_7324_8055_fd73efd9c995["removeSelfIfPresent()"] 0233e67b_aa3b_d75b_4c03_f8c1ecbc9db1["ApplicationProtocolNegotiationHandler"] ff97ac71_5935_7324_8055_fd73efd9c995 -->|defined in| 0233e67b_aa3b_d75b_4c03_f8c1ecbc9db1 73fc5f5b_e081_bdd5_167a_04c620d4fdab["channelRead()"] 73fc5f5b_e081_bdd5_167a_04c620d4fdab -->|calls| ff97ac71_5935_7324_8055_fd73efd9c995 880f358e_d7d7_b607_f597_19124ca4364e["userEventTriggered()"] 880f358e_d7d7_b607_f597_19124ca4364e -->|calls| ff97ac71_5935_7324_8055_fd73efd9c995 6d5c26f8_b0b4_a613_e7c9_27748639d0b3["exceptionCaught()"] 6d5c26f8_b0b4_a613_e7c9_27748639d0b3 -->|calls| ff97ac71_5935_7324_8055_fd73efd9c995 style ff97ac71_5935_7324_8055_fd73efd9c995 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/ApplicationProtocolNegotiationHandler.java lines 170–175
private void removeSelfIfPresent(ChannelHandlerContext ctx) {
ChannelPipeline pipeline = ctx.pipeline();
if (!ctx.isRemoved()) {
pipeline.remove(this);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does removeSelfIfPresent() do?
removeSelfIfPresent() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ApplicationProtocolNegotiationHandler.java.
Where is removeSelfIfPresent() defined?
removeSelfIfPresent() is defined in handler/src/main/java/io/netty/handler/ssl/ApplicationProtocolNegotiationHandler.java at line 170.
What calls removeSelfIfPresent()?
removeSelfIfPresent() is called by 3 function(s): channelRead, exceptionCaught, userEventTriggered.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free