public interface ResponseCompressionAnalyzer
CompressionAnalyzer
,
SymbolConstants.GZIP_COMPRESSION_ENABLED
Modifier and Type | Method and Description |
---|---|
boolean |
isGZipEnabled(ContentType contentType)
Uses
CompressionAnalyzer to determine if the content is compressable, but only if the request
indicates the client supports compression. |
boolean |
isGZipSupported()
Checks the Accept-Encoding request header for a "gzip" token.
|
boolean isGZipSupported()
boolean isGZipEnabled(ContentType contentType)
CompressionAnalyzer
to determine if the content is compressable, but only if the request
indicates the client supports compression.contentType
- ${project.version} - Copyright © 2003-2015 The Apache Software Foundation.