|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.assets.CompressionAnalyzerImpl
public class CompressionAnalyzerImpl
Constructor Summary | |
---|---|
CompressionAnalyzerImpl(java.util.Map<java.lang.String,java.lang.Boolean> configuration)
|
Method Summary | |
---|---|
boolean |
isCompressable(java.lang.String contentType)
For a given MIME type, is the content compressable via GZip? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompressionAnalyzerImpl(java.util.Map<java.lang.String,java.lang.Boolean> configuration)
Method Detail |
---|
public boolean isCompressable(java.lang.String contentType)
CompressionAnalyzer
isCompressable
in interface CompressionAnalyzer
contentType
- MIME content type, possibly included attributes such as encoding type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |