Class DownloadWillBegin


  • @Beta
    public class DownloadWillBegin
    extends java.lang.Object
    Fired when page is about to start a download.
    • Constructor Summary

      Constructors 
      Constructor Description
      DownloadWillBegin​(FrameId frameId, java.lang.String guid, java.lang.String url, java.lang.String suggestedFilename)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FrameId getFrameId()
      Id of the frame that caused download to begin.
      java.lang.String getGuid()
      Global unique identifier of the download.
      java.lang.String getSuggestedFilename()
      Suggested file name of the resource (the actual name of the file saved on disk may differ).
      java.lang.String getUrl()
      URL of the resource being downloaded.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DownloadWillBegin

        public DownloadWillBegin​(FrameId frameId,
                                 java.lang.String guid,
                                 java.lang.String url,
                                 java.lang.String suggestedFilename)
    • Method Detail

      • getFrameId

        public FrameId getFrameId()
        Id of the frame that caused download to begin.
      • getGuid

        public java.lang.String getGuid()
        Global unique identifier of the download.
      • getUrl

        public java.lang.String getUrl()
        URL of the resource being downloaded.
      • getSuggestedFilename

        public java.lang.String getSuggestedFilename()
        Suggested file name of the resource (the actual name of the file saved on disk may differ).