@UsesMappedConfiguration(value=boolean.class) public interface CompressionAnalyzer
The configuration maps content types to boolean values (true for compressable).
Modifier and Type | Method and Description |
---|---|
boolean |
isCompressable(String contentType)
For a given MIME type, is the content compressable via GZip?
|
boolean isCompressable(String contentType)
contentType
- MIME content type, possibly included attributes such as encoding typeCopyright © 2003-2012 The Apache Software Foundation.