-
@Deprecated(message = "Deprecated in the Chrome DevTools protocol") public final class SetDownloadBehaviorRequest
Request object containing input parameters for the PageDomain.setDownloadBehavior command.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringbehaviorprivate final StringdownloadPath
-
Constructor Summary
Constructors Constructor Description SetDownloadBehaviorRequest(String behavior, String downloadPath)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final SetDownloadBehaviorRequestcopy(String behavior, String downloadPath)final StringgetBehavior()Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). final StringgetDownloadPath()The default path to save downloaded files to. -
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
copy
final SetDownloadBehaviorRequest copy(String behavior, String downloadPath)
-
getBehavior
final String getBehavior()
Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny).
-
getDownloadPath
final String getDownloadPath()
The default path to save downloaded files to. This is requred if behavior is set to 'allow'
-
-
-
-