DeflateOptions Class — netty Architecture
Architecture documentation for the DeflateOptions class in DeflateOptions.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD cce4b65d_208e_086f_855d_f3e1ace9ade8["DeflateOptions"] 11340fca_9a74_d5dd_6357_b2708d32a573["DeflateOptions.java"] cce4b65d_208e_086f_855d_f3e1ace9ade8 -->|defined in| 11340fca_9a74_d5dd_6357_b2708d32a573 6bdd1950_d398_1128_e6b3_0b5d7b3834cc["DeflateOptions()"] cce4b65d_208e_086f_855d_f3e1ace9ade8 -->|method| 6bdd1950_d398_1128_e6b3_0b5d7b3834cc a99c484e_98e3_4121_ff37_7d5f5a226ac0["compressionLevel()"] cce4b65d_208e_086f_855d_f3e1ace9ade8 -->|method| a99c484e_98e3_4121_ff37_7d5f5a226ac0 a1b26b14_5d36_2c89_3d48_570de61f3714["windowBits()"] cce4b65d_208e_086f_855d_f3e1ace9ade8 -->|method| a1b26b14_5d36_2c89_3d48_570de61f3714 4b0ec903_1884_8a78_e633_9f3470cfe049["memLevel()"] cce4b65d_208e_086f_855d_f3e1ace9ade8 -->|method| 4b0ec903_1884_8a78_e633_9f3470cfe049
Relationship Graph
Source Code
codec-compression/src/main/java/io/netty/handler/codec/compression/DeflateOptions.java lines 24–57
public class DeflateOptions implements CompressionOptions {
private final int compressionLevel;
private final int windowBits;
private final int memLevel;
/**
* @see StandardCompressionOptions#deflate()
*/
static final DeflateOptions DEFAULT = new DeflateOptions(
6, 15, 8
);
/**
* @see StandardCompressionOptions#deflate(int, int, int)
*/
DeflateOptions(int compressionLevel, int windowBits, int memLevel) {
this.compressionLevel = ObjectUtil.checkInRange(compressionLevel, 0, 9, "compressionLevel");
this.windowBits = ObjectUtil.checkInRange(windowBits, 9, 15, "windowBits");
this.memLevel = ObjectUtil.checkInRange(memLevel, 1, 9, "memLevel");
}
public int compressionLevel() {
return compressionLevel;
}
public int windowBits() {
return windowBits;
}
public int memLevel() {
return memLevel;
}
}
Source
Frequently Asked Questions
What is the DeflateOptions class?
DeflateOptions is a class in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/DeflateOptions.java.
Where is DeflateOptions defined?
DeflateOptions is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/DeflateOptions.java at line 24.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free