-
public final class NetworkEvent.ResponseReceivedEvent extends NetworkEvent
Fired when HTTP response is available.
-
-
Constructor Summary
Constructors Constructor Description ResponseReceivedEvent(String requestId, String loaderId, Double timestamp, ResourceType type, Response response, String frameId)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final Doublecomponent3()final ResourceTypecomponent4()final Responsecomponent5()final Stringcomponent6()final NetworkEvent.ResponseReceivedEventcopy(String requestId, String loaderId, Double timestamp, ResourceType type, Response response, String frameId)final StringgetRequestId()Request identifier. final StringgetLoaderId()Loader identifier. final DoublegetTimestamp()Timestamp. final ResourceTypegetType()Resource type. final ResponsegetResponse()Response data. final StringgetFrameId()Frame identifier. -
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final Double component3()
-
component4
final ResourceType component4()
-
component5
final Response component5()
-
component6
final String component6()
-
copy
final NetworkEvent.ResponseReceivedEvent copy(String requestId, String loaderId, Double timestamp, ResourceType type, Response response, String frameId)
-
getRequestId
final String getRequestId()
Request identifier.
-
getLoaderId
final String getLoaderId()
Loader identifier. Empty string if the request is fetched from worker.
-
getTimestamp
final Double getTimestamp()
Timestamp.
-
getType
final ResourceType getType()
Resource type.
-
getResponse
final Response getResponse()
Response data.
-
getFrameId
final String getFrameId()
Frame identifier.
-
-
-
-