public final class Brotli extends Object
Modifier and Type | Method and Description |
---|---|
static Throwable |
cause()
Returns
Throwable of unavailability cause |
static void |
ensureAvailability()
Throws when brotli support is missing from the classpath or is unavailable on this platform
|
static boolean |
isAvailable() |
public static boolean isAvailable()
public static void ensureAvailability() throws Throwable
Throwable
- a ClassNotFoundException if brotli4j is missing
or a UnsatisfiedLinkError if brotli4j native lib can't be loadedCopyright © 2008–2024 The Netty Project. All rights reserved.