|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.ResponseCompressionAnalyzerImpl
public class ResponseCompressionAnalyzerImpl
| Constructor Summary | |
|---|---|
ResponseCompressionAnalyzerImpl(javax.servlet.http.HttpServletRequest request,
CompressionAnalyzer analyzer,
java.util.Collection<java.lang.String> configuration,
boolean gzipCompressionEnabled)
|
|
| Method Summary | |
|---|---|
boolean |
isCompressable(java.lang.String contentType)
Checks to see if the indicated content type is compressable. |
boolean |
isGZipSupported()
Checks the Accept-Encoding request header for a "gzip" token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResponseCompressionAnalyzerImpl(javax.servlet.http.HttpServletRequest request,
CompressionAnalyzer analyzer,
@Deprecated
java.util.Collection<java.lang.String> configuration,
@Symbol(value="tapestry.gzip-compression-enabled")
boolean gzipCompressionEnabled)
| Method Detail |
|---|
public boolean isGZipSupported()
ResponseCompressionAnalyzer
isGZipSupported in interface ResponseCompressionAnalyzerpublic boolean isCompressable(java.lang.String contentType)
ResponseCompressionAnalyzer
isCompressable in interface ResponseCompressionAnalyzercontentType - 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 | |||||||||