public class CompressionAnalyzerImpl extends java.lang.Object implements CompressionAnalyzer
Constructor and Description |
---|
CompressionAnalyzerImpl(java.util.Map<java.lang.String,java.lang.Boolean> configuration) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompressable(java.lang.String contentType)
For a given MIME type, is the content compressable via GZip?
|
public CompressionAnalyzerImpl(java.util.Map<java.lang.String,java.lang.Boolean> configuration)
public boolean isCompressable(java.lang.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.