enableGzip() — netty Function Reference
Architecture documentation for the enableGzip() function in PortUnificationServerHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 48a9eded_6f9c_3cad_72d3_82ff38ffecf1["enableGzip()"] 0035cd98_439e_cdb1_2619_abb4aba4a268["PortUnificationServerHandler"] 48a9eded_6f9c_3cad_72d3_82ff38ffecf1 -->|defined in| 0035cd98_439e_cdb1_2619_abb4aba4a268 46a8a557_e9f2_75bd_144b_c3fb8b8fd5d6["decode()"] 46a8a557_e9f2_75bd_144b_c3fb8b8fd5d6 -->|calls| 48a9eded_6f9c_3cad_72d3_82ff38ffecf1 501de240_e1cb_94f8_c582_2faaf20d2729["PortUnificationServerHandler()"] 48a9eded_6f9c_3cad_72d3_82ff38ffecf1 -->|calls| 501de240_e1cb_94f8_c582_2faaf20d2729 style 48a9eded_6f9c_3cad_72d3_82ff38ffecf1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
example/src/main/java/io/netty/example/portunification/PortUnificationServerHandler.java lines 123–129
private void enableGzip(ChannelHandlerContext ctx) {
ChannelPipeline p = ctx.pipeline();
p.addLast("gzipdeflater", ZlibCodecFactory.newZlibEncoder(ZlibWrapper.GZIP));
p.addLast("gzipinflater", ZlibCodecFactory.newZlibDecoder(ZlibWrapper.GZIP, MAX_CONTENT_LENGTH));
p.addLast("unificationB", new PortUnificationServerHandler(sslCtx, detectSsl, false));
p.remove(this);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does enableGzip() do?
enableGzip() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/portunification/PortUnificationServerHandler.java.
Where is enableGzip() defined?
enableGzip() is defined in example/src/main/java/io/netty/example/portunification/PortUnificationServerHandler.java at line 123.
What does enableGzip() call?
enableGzip() calls 1 function(s): PortUnificationServerHandler.
What calls enableGzip()?
enableGzip() 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