-
public final class NetworkEvent.ResponseReceivedExtraInfoEvent extends NetworkEvent
Fired when additional information about a responseReceived event is available from the network stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it, and responseReceivedExtraInfo may be fired before or after responseReceived.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringrequestIdprivate final List<BlockedSetCookieWithReason>blockedCookiesprivate final JsonElementheadersprivate final StringheadersText
-
Constructor Summary
Constructors Constructor Description ResponseReceivedExtraInfoEvent(String requestId, List<BlockedSetCookieWithReason> blockedCookies, JsonElement headers, String headersText)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final List<BlockedSetCookieWithReason>component2()final JsonElementcomponent3()final Stringcomponent4()final NetworkEvent.ResponseReceivedExtraInfoEventcopy(String requestId, List<BlockedSetCookieWithReason> blockedCookies, JsonElement headers, String headersText)final StringgetRequestId()Request identifier. final List<BlockedSetCookieWithReason>getBlockedCookies()A list of cookies which were not stored from the response along with the corresponding reasons for blocking. final JsonElementgetHeaders()Raw response headers as they were received over the wire. final StringgetHeadersText()Raw response header text as it was received over the wire. -
-
Constructor Detail
-
ResponseReceivedExtraInfoEvent
ResponseReceivedExtraInfoEvent(String requestId, List<BlockedSetCookieWithReason> blockedCookies, JsonElement headers, String headersText)
-
-
Method Detail
-
component1
final String component1()
-
component2
final List<BlockedSetCookieWithReason> component2()
-
component3
final JsonElement component3()
-
component4
final String component4()
-
copy
final NetworkEvent.ResponseReceivedExtraInfoEvent copy(String requestId, List<BlockedSetCookieWithReason> blockedCookies, JsonElement headers, String headersText)
-
getRequestId
final String getRequestId()
Request identifier. Used to match this information to another responseReceived event.
-
getBlockedCookies
final List<BlockedSetCookieWithReason> getBlockedCookies()
A list of cookies which were not stored from the response along with the corresponding reasons for blocking. The cookies here may not be valid due to syntax errors, which are represented by the invalid cookie line string instead of a proper cookie.
-
getHeaders
final JsonElement getHeaders()
Raw response headers as they were received over the wire.
-
getHeadersText
final String getHeadersText()
Raw response header text as it was received over the wire. The raw text may not always be available, such as in the case of HTTP/2 or QUIC.
-
-
-
-