public abstract class ZipContentCodecBuilder
extends Object
| Modifier and Type | Method and Description |
|---|---|
abstract ContentCodec |
build()
Build and return an instance of the
ContentCodec with the configuration of the builder. |
ZipContentCodecBuilder |
maxChunkSize(int maxChunkSize)
Set the max allowed chunk size to inflate during decoding.
|
ZipContentCodecBuilder |
withCompressionLevel(int compressionLevel)
Sets the compression level for this codec's encoder.
|
public final ZipContentCodecBuilder withCompressionLevel(int compressionLevel)
compressionLevel - 1 yields the fastest compression and 9 yields the best compression,
0 means no compression.thispublic final ZipContentCodecBuilder maxChunkSize(int maxChunkSize)
maxChunkSize - the max allowed chunk size to inflate during decoding.thispublic abstract ContentCodec build()
ContentCodec with the configuration of the builder.ContentCodec with the configuration of the builder