public class SRSCompressedCachingInterceptor extends SRSCachingInterceptor
SRSCachingInterceptor that only attempts to cache
compressed resources.delegate| Constructor and Description |
|---|
SRSCompressedCachingInterceptor(StreamableResourceSource delegate,
ResourceChangeTracker tracker) |
| 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.
|
getStreamableResourcefileExtensionsForContentTypepublic SRSCompressedCachingInterceptor(StreamableResourceSource delegate, ResourceChangeTracker tracker)
protected boolean isCacheable(StreamableResource resource)
isCacheable in class SRSCachingInterceptorprotected boolean enableCache(StreamableResourceProcessing processing)
enableCache in class SRSCachingInterceptor5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.