public abstract class AjaxDownloadBehaviorFromFile
extends org.apache.wicket.behavior.AbstractAjaxBehavior
Constructor and Description |
---|
AjaxDownloadBehaviorFromFile() |
AjaxDownloadBehaviorFromFile(boolean addAntiCache) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.apache.wicket.util.file.File |
initFile() |
void |
initiate(org.apache.wicket.ajax.AjaxRequestTarget target)
Call this method to initiate the download.
|
void |
onRequest() |
void |
setContentType(String contentType) |
void |
setRemoveFile(boolean removeFile) |
afterRender, bind, getCallbackUrl, getComponent, onBind, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
public AjaxDownloadBehaviorFromFile()
public AjaxDownloadBehaviorFromFile(boolean addAntiCache)
public void initiate(org.apache.wicket.ajax.AjaxRequestTarget target)
public void onRequest()
public void setContentType(String contentType)
public void setRemoveFile(boolean removeFile)
protected abstract org.apache.wicket.util.file.File initFile()
Copyright © 2016 evolveum. All rights reserved.