CustomSslHandler Class — netty Architecture
Architecture documentation for the CustomSslHandler class in SniHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c27f4b08_c6fa_b9da_5949_7f82f177c399["CustomSslHandler"] 21c53ef4_8ec1_7385_0648_b8ecf474bb86["SniHandlerTest.java"] c27f4b08_c6fa_b9da_5949_7f82f177c399 -->|defined in| 21c53ef4_8ec1_7385_0648_b8ecf474bb86 b2c4304e_7e24_d36d_6cc5_2a994bce5582["CustomSslHandler()"] c27f4b08_c6fa_b9da_5949_7f82f177c399 -->|method| b2c4304e_7e24_d36d_6cc5_2a994bce5582 698f639c_6a11_d253_15c7_9dca0d17d480["handlerRemoved0()"] c27f4b08_c6fa_b9da_5949_7f82f177c399 -->|method| 698f639c_6a11_d253_15c7_9dca0d17d480
Relationship Graph
Source Code
handler/src/test/java/io/netty/handler/ssl/SniHandlerTest.java lines 616–629
private static class CustomSslHandler extends SslHandler {
private final SslContext sslContext;
CustomSslHandler(SslContext sslContext, SSLEngine sslEngine) {
super(sslEngine);
this.sslContext = ObjectUtil.checkNotNull(sslContext, "sslContext");
}
@Override
public void handlerRemoved0(ChannelHandlerContext ctx) throws Exception {
super.handlerRemoved0(ctx);
ReferenceCountUtil.release(sslContext);
}
}
Source
Frequently Asked Questions
What is the CustomSslHandler class?
CustomSslHandler is a class in the netty codebase, defined in handler/src/test/java/io/netty/handler/ssl/SniHandlerTest.java.
Where is CustomSslHandler defined?
CustomSslHandler is defined in handler/src/test/java/io/netty/handler/ssl/SniHandlerTest.java at line 616.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free