|
||||||||||
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(Locale locale)
Deprecated. Creates a dynamic resource |
|
DynamicByteArrayResource(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. Returns a new IResourceStream that provides all data for the request. |
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(Locale locale)
locale
- The locale of this resourcepublic DynamicByteArrayResource(Locale locale, Duration cacheTimeout)
locale
- The locale of this resourcecacheTimeout
- The cache duration timeoutMethod Detail |
---|
public final IResourceStream getResourceStream()
Resource
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 |