|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.request.resource.caching.NoOpResourceCachingStrategy
public class NoOpResourceCachingStrategy
resource caching strategy that does nothing at all
when using this strategy caching of resources will effectively be disabled
Field Summary | |
---|---|
static IResourceCachingStrategy |
INSTANCE
Global instance of NoOpResourceCachingStrategy strategy |
Constructor Summary | |
---|---|
NoOpResourceCachingStrategy()
|
Method Summary | |
---|---|
void |
decorateResponse(AbstractResource.ResourceResponse response,
IStaticCacheableResource resource)
decorate resource response |
void |
decorateUrl(ResourceUrl url,
IStaticCacheableResource resource)
add caching related information to filename + parameters |
void |
undecorateUrl(ResourceUrl url)
Removes caching related information from filename + parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final IResourceCachingStrategy INSTANCE
NoOpResourceCachingStrategy
strategy
Constructor Detail |
---|
public NoOpResourceCachingStrategy()
Method Detail |
---|
public void decorateUrl(ResourceUrl url, IStaticCacheableResource resource)
IResourceCachingStrategy
decorateUrl
in interface IResourceCachingStrategy
url
- parameters to which caching information should be added and which will be used to
construct the url to the resourceresource
- cacheable resourcepublic void undecorateUrl(ResourceUrl url)
IResourceCachingStrategy
IResourceCachingStrategy.decorateUrl(ResourceUrl, IStaticCacheableResource)
did.
undecorateUrl
in interface IResourceCachingStrategy
url
- parameters that were used to construct the url to the resource and from which
previously added caching information should be strippedpublic void decorateResponse(AbstractResource.ResourceResponse response, IStaticCacheableResource resource)
IResourceCachingStrategy
decorateResponse
in interface IResourceCachingStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |