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()CallsCompressionConfig.addCompressor(CompressionOptions)with the brotli algorithm configured with default parameters.CompressionConfig.addBrotli(int quality) CallsCompressionConfig.addCompressor(CompressionOptions)with the brotli algorithm configured with the specifiedquality, default window and default mode.CompressionConfig.addCompressor(CompressionOptions compressor) Add a compressor, if the compressor is already registered, the compressor is updated instead.CompressionConfig.addDeflate()CallsCompressionConfig.addCompressor(CompressionOptions)with the deflate algorithm configured with default parameters.CompressionConfig.addDeflate(int compressionLevel) CallsCompressionConfig.addCompressor(CompressionOptions)with the deflate algorithm configured with the specifiedcompressionLevel, default window bits and default mem level.CompressionConfig.addDeflate(int compressionLevel, int windowBits, int memLevel) CallsCompressionConfig.addCompressor(CompressionOptions)with the deflate algorithm configured with the specifiedcompressionLevel, specifiedwindowBitsand specifiedmemLevel.CompressionConfig.addGzip()CallsCompressionConfig.addCompressor(CompressionOptions)with the gzip algorithm configured with default parameters.CompressionConfig.addGzip(int compressionLevel) CallsCompressionConfig.addCompressor(CompressionOptions)with the gzip algorithm configured with the specifiedcompressionLevel, default window bits and default mem level.CompressionConfig.addGzip(int compressionLevel, int windowBits, int memLevel) CallsCompressionConfig.addCompressor(CompressionOptions)with the gzip algorithm configured with the specifiedcompressionLevel, specifiedwindowBitsand specifiedmemLevel.CompressionConfig.addSnappy()CallsCompressionConfig.addCompressor(CompressionOptions)with the snappy algorithm configured with default parameters.CompressionConfig.addZstd()CallsCompressionConfig.addCompressor(CompressionOptions)with the zstd algorithm configured with default parameters.CompressionConfig.addZstd(int compressionLevel) CallsCompressionConfig.addCompressor(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) CallsCompressionConfig.addCompressor(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<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