Package io.webfolder.cdp.event.network
Class LoadingFailed
java.lang.Object
io.webfolder.cdp.event.network.LoadingFailed
Fired when HTTP request has failed to load.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe reason why loading was blocked, if any.The reason why loading was blocked by CORS, if any.User friendly error message.Request identifier.Timestamp.getType()
Resource type.True if loading was canceled.void
setBlockedReason
(BlockedReason blockedReason) The reason why loading was blocked, if any.void
setCanceled
(Boolean canceled) True if loading was canceled.void
setCorsErrorStatus
(CorsErrorStatus corsErrorStatus) The reason why loading was blocked by CORS, if any.void
setErrorText
(String errorText) User friendly error message.void
setRequestId
(String requestId) Request identifier.void
setTimestamp
(Double timestamp) Timestamp.void
setType
(ResourceType type) Resource type.toString()
-
Constructor Details
-
LoadingFailed
public LoadingFailed()
-
-
Method Details
-
getRequestId
Request identifier. -
setRequestId
Request identifier. -
getTimestamp
Timestamp. -
setTimestamp
Timestamp. -
getType
Resource type. -
setType
Resource type. -
getErrorText
User friendly error message. -
setErrorText
User friendly error message. -
isCanceled
True if loading was canceled. -
setCanceled
True if loading was canceled. -
getBlockedReason
The reason why loading was blocked, if any. -
setBlockedReason
The reason why loading was blocked, if any. -
getCorsErrorStatus
The reason why loading was blocked by CORS, if any. -
setCorsErrorStatus
The reason why loading was blocked by CORS, if any. -
toString
-