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

public class AjaxDownloadBehavior extends AbstractAjaxBehavior
See Also:
  • Field Details

  • Constructor Details

    • AjaxDownloadBehavior

      public AjaxDownloadBehavior()
  • Method Details

    • setResponse

      public void setResponse(ResponseHolder response)
    • initiate

      public void initiate(AjaxRequestTarget target)
      Call this method to initiate the download.
      Parameters:
      target - request target.
    • getResourceStream

      protected HttpResourceStream getResourceStream()
    • onRequest

      public void onRequest()