Uses of Class
io.vertx.core.http.CompressionConfig
Packages that use CompressionConfig
-
Uses of CompressionConfig in io.vertx.core.http
Methods in io.vertx.core.http that return CompressionConfigModifier and TypeMethodDescriptionCompressionConfig.addBrotli()CallsaddCompressor(CompressionOptions)with the brotli algorithm configured with default parameters.CompressionConfig.addBrotli(int quality) CallsaddCompressor(CompressionOptions)with the brotli algorithm configured with the specifiedquality, default window and default mode.CompressionConfig.addCompressor(io.netty.handler.codec.compression.CompressionOptions compressor) Add a compressor, if the compressor is already registered, the compressor is updated instead.CompressionConfig.addDeflate()CallsaddCompressor(CompressionOptions)with the deflate algorithm configured with default parameters.CompressionConfig.addDeflate(int compressionLevel) CallsaddCompressor(CompressionOptions)with the deflate algorithm configured with the specifiedcompressionLevel, default window bits and default mem level.CompressionConfig.addDeflate(int compressionLevel, int windowBits, int memLevel) CallsaddCompressor(CompressionOptions)with the deflate algorithm configured with the specifiedcompressionLevel, specifiedwindowBitsand specifiedmemLevel.CompressionConfig.addGzip()CallsaddCompressor(CompressionOptions)with the gzip algorithm configured with default parameters.CompressionConfig.addGzip(int compressionLevel) CallsaddCompressor(CompressionOptions)with the gzip algorithm configured with the specifiedcompressionLevel, default window bits and default mem level.CompressionConfig.addGzip(int compressionLevel, int windowBits, int memLevel) CallsaddCompressor(CompressionOptions)with the gzip algorithm configured with the specifiedcompressionLevel, specifiedwindowBitsand specifiedmemLevel.CompressionConfig.addSnappy()CallsaddCompressor(CompressionOptions)with the snappy algorithm configured with default parameters.CompressionConfig.addZstd()CallsaddCompressor(CompressionOptions)with the zstd algorithm configured with default parameters.CompressionConfig.addZstd(int compressionLevel) CallsaddCompressor(CompressionOptions)with the zstd algorithm configured with the specifiedcompressionLevel, default block size and default max encode size.CompressionConfig.addZstd(int compressionLevel, int blockSize, int maxEncodeSize) CallsaddCompressor(CompressionOptions)with the zstd algorithm configured with the specifiedcompressionLevel, specifiedblockSizeand specifiedmaxEncodeSize.HttpServerOptions.getCompression()HttpServerConfig.getCompressionConfig()CompressionConfig.setCompressionEnabled(boolean compressionEnabled) Set whether the server should support gzip/deflate compression (serving compressed responses to clients advertising support for them with Accept-Encoding header)CompressionConfig.setCompressors(List<io.netty.handler.codec.compression.CompressionOptions> compressors) Set the list of compressors.CompressionConfig.setContentSizeThreshold(int contentSizeThreshold) Set the compression content size threshold if compression is enabled.CompressionConfig.setDecompressionEnabled(boolean decompressionEnabled) Set whether the server supports decompressionMethods in io.vertx.core.http with parameters of type CompressionConfigModifier and TypeMethodDescriptionHttpServerOptions.setCompression(CompressionConfig compression) Configure the server compression, this overwrites any previously configuration.HttpServerConfig.setCompressionConfig(CompressionConfig compressionConfig) Configure the server compression, this overwrites any previously configuration.Constructors in io.vertx.core.http with parameters of type CompressionConfig