Class CompressionAnalyzerImpl
java.lang.Object
org.apache.tapestry5.internal.services.assets.CompressionAnalyzerImpl
- All Implemented Interfaces:
CompressionAnalyzer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isCompressable
(String contentType) For a given MIME type, is the content compressable via GZip?
-
Constructor Details
-
CompressionAnalyzerImpl
-
-
Method Details
-
isCompressable
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
-