public class CompressionAnalyzerImpl extends Object implements CompressionAnalyzer
Constructor and Description |
---|
CompressionAnalyzerImpl(Map<String,Boolean> configuration) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompressable(String contentType)
For a given MIME type, is the content compressable via GZip?
|
public CompressionAnalyzerImpl(Map<String,Boolean> configuration)
public boolean isCompressable(String contentType)
CompressionAnalyzer
isCompressable
in interface CompressionAnalyzer
contentType
- MIME content type, possibly included attributes such as encoding type5.7.0 - Copyright © 2003-2020 The Apache Software Foundation.