Interface GzipOption.Builder
- Enclosing class:
- GzipOption
public static interface GzipOption.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a newGzipOption
.compressionLevel
(int compressionLevel) Sets the gzip compression level.memoryLevel
(int memoryLevel) Sets the gzip memory level.windowBits
(int windowBits) Sets the gzip window bits.
-
Method Details
-
build
GzipOption build()Build a newGzipOption
.- Returns:
- a new
GzipOption
-
compressionLevel
Sets the gzip compression level.- Returns:
- a new
GzipOption.Builder
-
memoryLevel
Sets the gzip memory level.- Returns:
- a new
GzipOption.Builder
-
windowBits
Sets the gzip window bits.- Returns:
- a new
GzipOption.Builder
-