|
||||||||||
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
Field Summary | |
---|---|
static IResourceCachingStrategy |
INSTANCE
Global instance of noop strategy |
Constructor Summary | |
---|---|
NoOpResourceCachingStrategy()
|
Method Summary | |
---|---|
void |
decorateResponse(AbstractResource.ResourceResponse response)
decorate resource response |
void |
decorateUrl(ResourceUrl url,
ResourceReference reference)
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
Constructor Detail |
---|
public NoOpResourceCachingStrategy()
Method Detail |
---|
public void decorateUrl(ResourceUrl url, ResourceReference reference)
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 resourcereference
- resource referencepublic void undecorateUrl(ResourceUrl url)
IResourceCachingStrategy
IResourceCachingStrategy.decorateUrl(ResourceUrl, ResourceReference)
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)
IResourceCachingStrategy
decorateResponse
in interface IResourceCachingStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |