public class BrotliUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | isBrotliCompressionAvailable()Are the classes required to support Brotli compression available? | 
| static void | setCacheBrotliAvailablity(boolean doCache)Whether to cache the result of the Brotli for Java check. | 
public static boolean isBrotliCompressionAvailable()
public static void setCacheBrotliAvailablity(boolean doCache)
This defaults to false in an OSGi environment and true otherwise.
doCache - whether to cache the resultCopyright © 2018 The Apache Software Foundation. All rights reserved.