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
- 5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.