|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.Resource
org.apache.wicket.markup.html.WebResource
org.apache.wicket.resource.DynamicByteArrayResource
DynamicWebResource now
@Deprecated public abstract class DynamicByteArrayResource
Byte array resource class that supports dynamic (database or on the fly generated) data.
| Nested Class Summary | |
|---|---|
static class |
DynamicByteArrayResource.ResourceState
Deprecated. This is a ResourceState subclasses should return in the getResourceState method. |
| Field Summary |
|---|
| Fields inherited from interface org.apache.wicket.IResourceListener |
|---|
INTERFACE |
| Constructor Summary | |
|---|---|
DynamicByteArrayResource()
Deprecated. Creates a dynamic resource |
|
DynamicByteArrayResource(java.util.Locale locale)
Deprecated. Creates a dynamic resource |
|
DynamicByteArrayResource(java.util.Locale locale,
Duration cacheTimeout)
Deprecated. Creates a dynamic resource |
|
| Method Summary | |
|---|---|
protected abstract DynamicByteArrayResource.ResourceState |
getResourceState()
Deprecated. Gets the byte array for our dynamic resource. |
IResourceStream |
getResourceStream()
Deprecated. |
void |
invalidate()
Deprecated. Sets any loaded resource to null, thus forcing a reload on the next request. |
| Methods inherited from class org.apache.wicket.markup.html.WebResource |
|---|
configureResponse, getCacheDuration, setHeaders |
| Methods inherited from class org.apache.wicket.Resource |
|---|
getParameters, isCacheable, onResourceRequested, setCacheable, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicByteArrayResource()
public DynamicByteArrayResource(java.util.Locale locale)
locale - The locale of this resource
public DynamicByteArrayResource(java.util.Locale locale,
Duration cacheTimeout)
locale - The locale of this resourcecacheTimeout - The cache duration timeout| Method Detail |
|---|
public final IResourceStream getResourceStream()
getResourceStream in class Resourcepublic void invalidate()
Resource
invalidate in class ResourceResource.invalidate()protected abstract DynamicByteArrayResource.ResourceState getResourceState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||