-
public final class PageEvent.DownloadWillBeginEvent extends PageEvent
Fired when page is about to start a download.
-
-
Constructor Summary
Constructors Constructor Description DownloadWillBeginEvent(String frameId, String guid, String url, String suggestedFilename)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final Stringcomponent3()final Stringcomponent4()final PageEvent.DownloadWillBeginEventcopy(String frameId, String guid, String url, String suggestedFilename)final StringgetFrameId()Id of the frame that caused download to begin. final StringgetGuid()Global unique identifier of the download. final StringgetUrl()URL of the resource being downloaded. final StringgetSuggestedFilename()Suggested file name of the resource (the actual name of the file saved on disk may differ). -
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final String component3()
-
component4
final String component4()
-
copy
final PageEvent.DownloadWillBeginEvent copy(String frameId, String guid, String url, String suggestedFilename)
-
getFrameId
final String getFrameId()
Id of the frame that caused download to begin.
-
getSuggestedFilename
final String getSuggestedFilename()
Suggested file name of the resource (the actual name of the file saved on disk may differ).
-
-
-
-