Uses of Class
org.apache.wicket.markup.html.link.DownloadLink
-
Packages that use DownloadLink Package Description org.apache.wicket.markup.html.link Link components. -
-
Uses of DownloadLink in org.apache.wicket.markup.html.link
Methods in org.apache.wicket.markup.html.link that return DownloadLink Modifier and Type Method Description DownloadLink
DownloadLink. setCacheDuration(Duration duration)
Sets the duration for which the file resource should be cached by the client.DownloadLink
DownloadLink. setContentDisposition(ContentDisposition contentDisposition)
Sets the content disposition of the request.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.
-