Home / Function/ encodings() — netty Function Reference

encodings() — netty Function Reference

Architecture documentation for the encodings() function in HttpContentDecompressorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  44fa541c_7af1_7519_3ba0_17999aef930b["encodings()"]
  ad239479_d432_6bb8_104c_16b5ed7eb774["HttpContentDecompressorTest"]
  44fa541c_7af1_7519_3ba0_17999aef930b -->|defined in| ad239479_d432_6bb8_104c_16b5ed7eb774
  style 44fa541c_7af1_7519_3ba0_17999aef930b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpContentDecompressorTest.java lines 84–96

    static String[] encodings() {
        List<String> encodings = new ArrayList<>();
        encodings.add("gzip");
        encodings.add("deflate");
        if (Brotli.isAvailable()) {
            encodings.add("br");
        }
        if (Zstd.isAvailable()) {
            encodings.add("zstd");
        }
        encodings.add("snappy");
        return encodings.toArray(new String[0]);
    }

Domain

Subdomains

Frequently Asked Questions

What does encodings() do?
encodings() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpContentDecompressorTest.java.
Where is encodings() defined?
encodings() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpContentDecompressorTest.java at line 84.

Analyze Your Own Codebase

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

Try Supermodel Free