|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResponseCompressionAnalyzer
Used to determine if the client supports GZIP compression of the response.
ResponseCompressionAnalyzer
Method Summary | |
---|---|
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. |
Method Detail |
---|
boolean isGZipSupported()
boolean isCompressable(String contentType)
CompressionAnalyzer
.
contentType
- the mime type of the content, such as "text/html" or "image/jpeg".
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |