Package io.servicetalk.encoding.netty
Class ZipContentCodecBuilder
java.lang.Object
io.servicetalk.encoding.netty.ZipContentCodecBuilder
Deprecated.
Base class for Zip based content-codecs.
-
Method Summary
Modifier and TypeMethodDescriptionabstract ContentCodec
build()
Deprecated.Build and return an instance of theContentCodec
with the configuration of the builder.final ZipContentCodecBuilder
maxChunkSize
(int maxChunkSize) Deprecated.Set the max allowed chunk size to inflate during decoding.final ZipContentCodecBuilder
withCompressionLevel
(int compressionLevel) Deprecated.Sets the compression level for this codec's encoder.
-
Method Details
-
withCompressionLevel
Deprecated.Sets the compression level for this codec's encoder.- Parameters:
compressionLevel
- 1 yields the fastest compression and 9 yields the best compression, 0 means no compression.- Returns:
this
-
maxChunkSize
Deprecated.Set the max allowed chunk size to inflate during decoding.- Parameters:
maxChunkSize
- the max allowed chunk size to inflate during decoding.- Returns:
this
-
build
Deprecated.Build and return an instance of theContentCodec
with the configuration of the builder.- Returns:
- the
ContentCodec
with the configuration of the builder
-
ZipCompressionBuilder
.