Class CompressionAnalyzerImpl
java.lang.Object
org.apache.tapestry5.internal.services.assets.CompressionAnalyzerImpl
- All Implemented Interfaces:
CompressionAnalyzer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCompressable(String contentType) For a given MIME type, is the content compressable via GZip?
-
Constructor Details
-
CompressionAnalyzerImpl
-
-
Method Details
-
isCompressable
Description copied from interface:CompressionAnalyzerFor a given MIME type, is the content compressable via GZip?- Specified by:
isCompressablein interfaceCompressionAnalyzer- Parameters:
contentType- MIME content type, possibly included attributes such as encoding type- Returns:
- true if the content is not "naturally" compressed
-