Class CompressionAnalyzerImpl
-
- org.apache.tapestry5.internal.services.assets.CompressionAnalyzerImpl
-
- All Implemented Interfaces:
CompressionAnalyzer
public class CompressionAnalyzerImpl extends implements CompressionAnalyzer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contentType)
For a given MIME type, is the content compressable via GZip?
-
-
-
Method Detail
-
isCompressable
public boolean contentType)
Description copied from interface:CompressionAnalyzer
For a given MIME type, is the content compressable via GZip?- Specified by:
isCompressable
in interfaceCompressionAnalyzer
- Parameters:
contentType
- MIME content type, possibly included attributes such as encoding type- Returns:
- true if the content is not "naturally" compressed
-
-