
io.javalin.core.compression.Brotli.kt Maven / Gradle / Ivy
package io.javalin.core.compression
/** @param level Compression level. Higher yields better (but slower) compression. Range 0..11, default = 4 */
class Brotli(val level: Int = 4) {
init {
require(level in 0..11) { "Valid range for parameter level is 0 to 11" }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy