|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.assets.SRSCachingInterceptor
org.apache.tapestry5.internal.services.assets.SRSCompressedCachingInterceptor
public class SRSCompressedCachingInterceptor
Specialization of SRSCachingInterceptor
that only attempts to cache
compressed resources.
Constructor Summary | |
---|---|
SRSCompressedCachingInterceptor(StreamableResourceSource delegate)
|
Method Summary | |
---|---|
protected boolean |
enableCache(StreamableResourceProcessing processing)
Returns true just when the processing enables compression. |
protected boolean |
isCacheable(StreamableResource resource)
Return true only if the resource is compressed. |
Methods inherited from class org.apache.tapestry5.internal.services.assets.SRSCachingInterceptor |
---|
getStreamableResource, objectWasInvalidated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SRSCompressedCachingInterceptor(StreamableResourceSource delegate)
Method Detail |
---|
protected boolean isCacheable(StreamableResource resource)
isCacheable
in class SRSCachingInterceptor
protected boolean enableCache(StreamableResourceProcessing processing)
enableCache
in class SRSCachingInterceptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |