Class PreloadingAttemptKey
- java.lang.Object
-
- org.openqa.selenium.devtools.v115.preload.model.PreloadingAttemptKey
-
public class PreloadingAttemptKey extends java.lang.Object
A key that identifies a preloading attempt. The url used is the url specified by the trigger (i.e. the initial URL), and not the final url that is navigated to. For example, prerendering allows same-origin main frame navigations during the attempt, but the attempt is still keyed with the initial URL.
-
-
Constructor Summary
Constructors Constructor Description PreloadingAttemptKey(LoaderId loaderId, SpeculationAction action, java.lang.String url, java.util.Optional<SpeculationTargetHint> targetHint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpeculationAction
getAction()
LoaderId
getLoaderId()
java.util.Optional<SpeculationTargetHint>
getTargetHint()
java.lang.String
getUrl()
-
-
-
Constructor Detail
-
PreloadingAttemptKey
public PreloadingAttemptKey(LoaderId loaderId, SpeculationAction action, java.lang.String url, java.util.Optional<SpeculationTargetHint> targetHint)
-
-
Method Detail
-
getLoaderId
public LoaderId getLoaderId()
-
getAction
public SpeculationAction getAction()
-
getUrl
public java.lang.String getUrl()
-
getTargetHint
public java.util.Optional<SpeculationTargetHint> getTargetHint()
-
-