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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.wicket.util.resource.IResourceStreamprotected abstract InputStreamvoidsetContentType(String contentType) voidsetFileName(String fileName) Methods inherited from class com.evolveum.midpoint.web.component.AbstractAjaxDownloadBehavior
initiate, onRequestMethods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onBind, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindMethods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag, renderHeadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
Constructor Details
-
AjaxDownloadBehaviorFromStream
public AjaxDownloadBehaviorFromStream() -
AjaxDownloadBehaviorFromStream
public AjaxDownloadBehaviorFromStream(boolean addAntiCache)
-
-
Method Details
-
getResourceStream
public org.apache.wicket.util.resource.IResourceStream getResourceStream()- Specified by:
getResourceStreamin classAbstractAjaxDownloadBehavior
-
initStream
-
getFileName
- Overrides:
getFileNamein classAbstractAjaxDownloadBehavior
-
setFileName
- Overrides:
setFileNamein classAbstractAjaxDownloadBehavior
-
setContentType
- Overrides:
setContentTypein classAbstractAjaxDownloadBehavior
-