public class SRSCompressedCachingInterceptor extends SRSCachingInterceptor
SRSCachingInterceptor
that only attempts to cache
compressed resources.Constructor and Description |
---|
SRSCompressedCachingInterceptor(StreamableResourceSource delegate) |
Modifier and Type | Method and Description |
---|---|
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.
|
getStreamableResource, objectWasInvalidated
public SRSCompressedCachingInterceptor(StreamableResourceSource delegate)
protected boolean isCacheable(StreamableResource resource)
isCacheable
in class SRSCachingInterceptor
protected boolean enableCache(StreamableResourceProcessing processing)
enableCache
in class SRSCachingInterceptor
Copyright © 2003-2012 The Apache Software Foundation.