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)
CompressionAnalyzerisCompressable in interface CompressionAnalyzercontentType - MIME content type, possibly included attributes such as encoding type5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.