Class LoadingFailed
- java.lang.Object
-
- org.openqa.selenium.devtools.network.model.LoadingFailed
-
public class LoadingFailed extends java.lang.Object
Fired when HTTP request has failed to load.
-
-
Constructor Summary
Constructors Constructor Description LoadingFailed(RequestId requestId, MonotonicTime timestamp, ResourceType type, java.lang.String errorText, java.lang.Boolean canceled, BlockedReason blockedReason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockedReason
getBlockedReason()
The reason why loading was blocked, if any.java.lang.Boolean
getCanceled()
True if loading was canceled.java.lang.String
getErrorText()
User friendly error message.RequestId
getRequestId()
Request identifier.MonotonicTime
getTimestamp()
Timestamp.ResourceType
getType()
Resource type.
-
-
-
Constructor Detail
-
LoadingFailed
public LoadingFailed(RequestId requestId, MonotonicTime timestamp, ResourceType type, java.lang.String errorText, java.lang.Boolean canceled, BlockedReason blockedReason)
-
-
Method Detail
-
getRequestId
public RequestId getRequestId()
Request identifier.
-
getTimestamp
public MonotonicTime getTimestamp()
Timestamp.
-
getType
public ResourceType getType()
Resource type.
-
getErrorText
public java.lang.String getErrorText()
User friendly error message.
-
getCanceled
public java.lang.Boolean getCanceled()
True if loading was canceled.
-
getBlockedReason
public BlockedReason getBlockedReason()
The reason why loading was blocked, if any.
-
-