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 type${project.version} - Copyright © 2003-2015 The Apache Software Foundation.