Class AjaxDownloadBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.syncope.client.console.wicket.ajax.form.AjaxDownloadBehavior
- All Implemented Interfaces:
Serializable
,IComponentAwareEventSink
,IRequestListener
,IComponentAwareHeaderContributor
,IClusterable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected HttpResourceStream
void
initiate
(AjaxRequestTarget target) Call this method to initiate the download.void
void
setResponse
(ResponseHolder response) 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
Field Details
-
LOG
-
responseHolder
-
-
Constructor Details
-
AjaxDownloadBehavior
public AjaxDownloadBehavior()
-
-
Method Details
-
setResponse
-
initiate
Call this method to initiate the download.- Parameters:
target
- request target.
-
getResourceStream
-
onRequest
public void onRequest()
-