Package | Description |
---|---|
org.apache.wicket.markup.html.link |
Link components.
|
Modifier and Type | Method and Description |
---|---|
DownloadLink |
DownloadLink.setCacheDuration(Duration duration)
Sets the duration for which the file resource should be cached by the client.
|
DownloadLink |
DownloadLink.setDeleteAfterDownload(boolean deleteAfter)
USE THIS METHOD WITH CAUTION!
If true, the file will be deleted! The recommended way to use this setting, is to set this
DownloadLink object's model with a LoadableDetachableModel instance and the resulting file
being generated in a temporary folder.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.