|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@UsesMappedConfiguration(value=boolean.class) public interface CompressionAnalyzer
Identifies which content types are compressable. In general, content types are assumed to be compressable. The configuration of the service identifies exceptions, which are usually image file formats.
The configuration maps content types to boolean values (true for compressable).
Method Summary | |
---|---|
boolean |
isCompressable(String contentType)
For a given MIME type, is the content compressable via GZip? |
Method Detail |
---|
boolean isCompressable(String contentType)
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 |