|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wicket.Resource wicket.markup.html.WebResource wicket.resource.DynamicByteArrayResource
DynamicWebResource
now
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 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 wicket.markup.html.WebResource |
---|
configureResponse, setHeaders |
Methods inherited from class 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 resourcepublic DynamicByteArrayResource(java.util.Locale locale, Duration cacheTimeout)
locale
- The locale of this resourcecacheTimeout
- The cache duration timeoutMethod Detail |
---|
public final IResourceStream getResourceStream()
getResourceStream
in class Resource
public void invalidate()
Resource
invalidate
in class Resource
Resource.invalidate()
protected abstract DynamicByteArrayResource.ResourceState getResourceState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |