Package | Description |
---|---|
org.apache.wicket.request.http | |
org.apache.wicket.request.resource |
Modifier and Type | Method and Description |
---|---|
static WebResponse.CacheScope |
WebResponse.CacheScope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebResponse.CacheScope[] |
WebResponse.CacheScope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
WebResponse.enableCaching(Duration duration,
WebResponse.CacheScope scope)
Make this response cacheable
when trying to enable caching for web pages check this out: WICKET-4357
|
Modifier and Type | Method and Description |
---|---|
WebResponse.CacheScope |
AbstractResource.ResourceResponse.getCacheScope()
returns what kind of caches are allowed to cache the resource response
resources are only cached at all if caching is enabled by setting a cache duration.
|
Modifier and Type | Method and Description |
---|---|
AbstractResource.ResourceResponse |
AbstractResource.ResourceResponse.setCacheScope(WebResponse.CacheScope scope)
controls what kind of caches are allowed to cache the response
resources are only cached at all if caching is enabled by setting a cache duration.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.