-
public final class NetworkEvent.LoadingFailedEvent extends NetworkEvent
Fired when HTTP request has failed to load.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringrequestIdprivate final Doubletimestampprivate final ResourceTypetypeprivate final StringerrorTextprivate final Booleancanceledprivate final BlockedReasonblockedReasonprivate final CorsErrorStatuscorsErrorStatus
-
Constructor Summary
Constructors Constructor Description LoadingFailedEvent(String requestId, Double timestamp, ResourceType type, String errorText, Boolean canceled, BlockedReason blockedReason, CorsErrorStatus corsErrorStatus)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Doublecomponent2()final ResourceTypecomponent3()final Stringcomponent4()final Booleancomponent5()final BlockedReasoncomponent6()final CorsErrorStatuscomponent7()final NetworkEvent.LoadingFailedEventcopy(String requestId, Double timestamp, ResourceType type, String errorText, Boolean canceled, BlockedReason blockedReason, CorsErrorStatus corsErrorStatus)final StringgetRequestId()Request identifier. final DoublegetTimestamp()Timestamp. final ResourceTypegetType()Resource type. final StringgetErrorText()User friendly error message. final BooleangetCanceled()True if loading was canceled. final BlockedReasongetBlockedReason()The reason why loading was blocked, if any. final CorsErrorStatusgetCorsErrorStatus()The reason why loading was blocked by CORS, if any. -
-
Constructor Detail
-
LoadingFailedEvent
LoadingFailedEvent(String requestId, Double timestamp, ResourceType type, String errorText, Boolean canceled, BlockedReason blockedReason, CorsErrorStatus corsErrorStatus)
-
-
Method Detail
-
component1
final String component1()
-
component2
final Double component2()
-
component3
final ResourceType component3()
-
component4
final String component4()
-
component5
final Boolean component5()
-
component6
final BlockedReason component6()
-
component7
final CorsErrorStatus component7()
-
copy
final NetworkEvent.LoadingFailedEvent copy(String requestId, Double timestamp, ResourceType type, String errorText, Boolean canceled, BlockedReason blockedReason, CorsErrorStatus corsErrorStatus)
-
getRequestId
final String getRequestId()
Request identifier.
-
getTimestamp
final Double getTimestamp()
Timestamp.
-
getType
final ResourceType getType()
Resource type.
-
getErrorText
final String getErrorText()
User friendly error message.
-
getCanceled
final Boolean getCanceled()
True if loading was canceled.
-
getBlockedReason
final BlockedReason getBlockedReason()
The reason why loading was blocked, if any.
-
getCorsErrorStatus
final CorsErrorStatus getCorsErrorStatus()
The reason why loading was blocked by CORS, if any.
-
-
-
-