Class AjaxDownloadBehaviorFromFile
- java.lang.Object
 - 
- org.apache.wicket.behavior.Behavior
 - 
- org.apache.wicket.behavior.AbstractAjaxBehavior
 - 
- com.evolveum.midpoint.web.component.AjaxDownloadBehaviorFromFile
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable,org.apache.wicket.IComponentAwareEventSink,org.apache.wicket.IRequestListener,org.apache.wicket.markup.html.IComponentAwareHeaderContributor,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
 PageDebugDownloadBehaviour
public abstract class AjaxDownloadBehaviorFromFile extends org.apache.wicket.behavior.AbstractAjaxBehavior- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description AjaxDownloadBehaviorFromFile()AjaxDownloadBehaviorFromFile(boolean addAntiCache) 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.apache.wicket.util.file.FileinitFile()voidinitiate(org.apache.wicket.ajax.AjaxRequestTarget target)Call this method to initiate the download.voidonRequest()voidsetContentType(String contentType)voidsetRemoveFile(boolean removeFile)- 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onBind, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind 
- 
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag, renderHead 
 - 
 
 - 
 
- 
- 
Method Detail
- 
initiate
public void initiate(org.apache.wicket.ajax.AjaxRequestTarget target)
Call this method to initiate the download. 
- 
onRequest
public void onRequest()
 
- 
setContentType
public void setContentType(String contentType)
 
- 
setRemoveFile
public void setRemoveFile(boolean removeFile)
 
- 
initFile
protected abstract org.apache.wicket.util.file.File initFile()
 
 - 
 
 -