public interface ResponseCompressionAnalyzer
ResponseCompressionAnalyzer
Modifier and Type | Method and Description |
---|---|
boolean |
isCompressable(String contentType)
Deprecated.
Deprecated in Tapestry 5.3. This method is to be removed at a later date. The service's configuration
is no longer used. Instead, contribute to and use
CompressionAnalyzer . |
boolean |
isGZipSupported()
Checks the Accept-Encoding request header for a "gzip" token.
|
boolean isGZipSupported()
boolean isCompressable(String contentType)
CompressionAnalyzer
.contentType
- the mime type of the content, such as "text/html" or "image/jpeg".Copyright © 2003-2012 The Apache Software Foundation.