Class AjaxDownloadBehaviorFromStream
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
com.evolveum.midpoint.web.component.AbstractAjaxDownloadBehavior
com.evolveum.midpoint.web.component.AjaxDownloadBehaviorFromStream
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.IRequestListener
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract InputStream
org.apache.wicket.util.resource.IResourceStream
void
setContentType
(String contentType) void
setFileName
(String fileName) Methods inherited from class com.evolveum.midpoint.web.component.AbstractAjaxDownloadBehavior
initiate, onRequest
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
-
Constructor Details
-
AjaxDownloadBehaviorFromStream
public AjaxDownloadBehaviorFromStream()
-
-
Method Details
-
getResourceStream
public org.apache.wicket.util.resource.IResourceStream getResourceStream()- Specified by:
getResourceStream
in classAbstractAjaxDownloadBehavior
-
getInputStream
-
getFileName
- Overrides:
getFileName
in classAbstractAjaxDownloadBehavior
-
setFileName
- Overrides:
setFileName
in classAbstractAjaxDownloadBehavior
-
setContentType
- Overrides:
setContentType
in classAbstractAjaxDownloadBehavior
-