Home / Function/ handleSsl() — netty Function Reference

handleSsl() — netty Function Reference

Architecture documentation for the handleSsl() function in OptionalSslHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d7229944_6e31_dc15_3ef2_d31179ce99ce["handleSsl()"]
  18d476fe_9be9_0c53_8989_4e0784f98ac4["OptionalSslHandler"]
  d7229944_6e31_dc15_3ef2_d31179ce99ce -->|defined in| 18d476fe_9be9_0c53_8989_4e0784f98ac4
  7f38a5c8_bb25_873f_69ff_5f0e8badd744["decode()"]
  7f38a5c8_bb25_873f_69ff_5f0e8badd744 -->|calls| d7229944_6e31_dc15_3ef2_d31179ce99ce
  style d7229944_6e31_dc15_3ef2_d31179ce99ce fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/OptionalSslHandler.java lines 54–67

    private void handleSsl(ChannelHandlerContext context) {
        SslHandler sslHandler = null;
        try {
            sslHandler = newSslHandler(context, sslContext);
            context.pipeline().replace(this, newSslHandlerName(), sslHandler);
            sslHandler = null;
        } finally {
            // Since the SslHandler was not inserted into the pipeline the ownership of the SSLEngine was not
            // transferred to the SslHandler.
            if (sslHandler != null) {
                ReferenceCountUtil.safeRelease(sslHandler.engine());
            }
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does handleSsl() do?
handleSsl() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/OptionalSslHandler.java.
Where is handleSsl() defined?
handleSsl() is defined in handler/src/main/java/io/netty/handler/ssl/OptionalSslHandler.java at line 54.
What calls handleSsl()?
handleSsl() is called by 1 function(s): decode.

Analyze Your Own Codebase

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

Try Supermodel Free