Interface StartDownloadCallback.Params

Enclosing interface:
StartDownloadCallback

public static interface StartDownloadCallback.Params
The parameters of the StartDownloadCallback.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Download
    Returns the DownloadProcess instance that is about to start.
    default Optional<Frame>
    Returns an Optional that contains the Frame instance initiated this download or an empty Optional if the instance initiated this download was closed and not available anymore.
  • Method Details

    • download

      default Download download()
      Returns the DownloadProcess instance that is about to start.
    • frame

      default Optional<Frame> frame()
      Returns an Optional that contains the Frame instance initiated this download or an empty Optional if the instance initiated this download was closed and not available anymore.

      If this download was initiated by clicking the Download button in the PDF Viewer loaded in the main frame or an IFRAME, then this method returns an Optional that contains the instance of the main Frame.

      Since:
      7.2