Home / Function/ close() — netty Function Reference

close() — netty Function Reference

Architecture documentation for the close() function in LoggingHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  522efdf0_c566_3a1a_e891_37ecd01a5201["close()"]
  903fdc2e_3479_24cf_32a1_f42c47a42f04["LoggingHandler"]
  522efdf0_c566_3a1a_e891_37ecd01a5201 -->|defined in| 903fdc2e_3479_24cf_32a1_f42c47a42f04
  style 522efdf0_c566_3a1a_e891_37ecd01a5201 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/logging/LoggingHandler.java lines 251–257

    @Override
    public void close(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
        if (logger.isEnabled(internalLevel)) {
            logger.log(internalLevel, format(ctx, "CLOSE"));
        }
        ctx.close(promise);
    }

Domain

Subdomains

Frequently Asked Questions

What does close() do?
close() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/logging/LoggingHandler.java.
Where is close() defined?
close() is defined in handler/src/main/java/io/netty/handler/logging/LoggingHandler.java at line 251.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free