|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectwicket.Resource
wicket.markup.html.WebResource
wicket.resource.DynamicByteArrayResource
wicket.markup.html.image.resource.DynamicImageResource
wicket.markup.html.image.resource.BlobImageResource
An ImageResource subclass for dynamic images that come from database BLOB fields. Subclasses override getBlob() to provide the image data to send back to the user. A given subclass may decide how to produce this data and whether/how to buffer it.
| Constructor Summary | |
BlobImageResource()
Construct. |
|
| Method Summary | |
protected abstract java.sql.Blob |
getBlob()
Gets the BLOB (Binary Large OBject) that holds the raw image data. |
protected byte[] |
getImageData()
Get image data for our dynamic image resource. |
| Methods inherited from class wicket.markup.html.image.resource.DynamicImageResource |
getContentType, getData, getFormat, setFormat, toImageData |
| Methods inherited from class wicket.resource.DynamicByteArrayResource |
getCacheTimeout, getResourceStream, lastModifiedTime, setCacheTimeout, setLastModifiedTime |
| Methods inherited from class wicket.markup.html.WebResource |
configureResponse, setHeaders |
| Methods inherited from class wicket.Resource |
getIdleTimeout, getParameters, invalidate, isCacheable, onResourceRequested, setCacheable, setIdleTimeout, setParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BlobImageResource()
| Method Detail |
protected byte[] getImageData()
DynamicImageResource
getImageData in class DynamicImageResourceDynamicImageResource.getImageData()protected abstract java.sql.Blob getBlob()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||