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.6.3 - Copyright © 2003-2021 The Apache Software Foundation.