-
public final class NetworkEvent.RequestWillBeSentExtraInfoEvent extends NetworkEvent
Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringrequestIdprivate final List<BlockedCookieWithReason>associatedCookiesprivate final JsonElementheadersprivate final ClientSecurityStateclientSecurityState
-
Constructor Summary
Constructors Constructor Description RequestWillBeSentExtraInfoEvent(String requestId, List<BlockedCookieWithReason> associatedCookies, JsonElement headers, ClientSecurityState clientSecurityState)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final List<BlockedCookieWithReason>component2()final JsonElementcomponent3()final ClientSecurityStatecomponent4()final NetworkEvent.RequestWillBeSentExtraInfoEventcopy(String requestId, List<BlockedCookieWithReason> associatedCookies, JsonElement headers, ClientSecurityState clientSecurityState)final StringgetRequestId()Request identifier. final List<BlockedCookieWithReason>getAssociatedCookies()A list of cookies potentially associated to the requested URL. final JsonElementgetHeaders()Raw request headers as they will be sent over the wire. final ClientSecurityStategetClientSecurityState()The client security state set for the request. -
-
Constructor Detail
-
RequestWillBeSentExtraInfoEvent
RequestWillBeSentExtraInfoEvent(String requestId, List<BlockedCookieWithReason> associatedCookies, JsonElement headers, ClientSecurityState clientSecurityState)
-
-
Method Detail
-
component1
final String component1()
-
component2
final List<BlockedCookieWithReason> component2()
-
component3
final JsonElement component3()
-
component4
final ClientSecurityState component4()
-
copy
final NetworkEvent.RequestWillBeSentExtraInfoEvent copy(String requestId, List<BlockedCookieWithReason> associatedCookies, JsonElement headers, ClientSecurityState clientSecurityState)
-
getRequestId
final String getRequestId()
Request identifier. Used to match this information to an existing requestWillBeSent event.
-
getAssociatedCookies
final List<BlockedCookieWithReason> getAssociatedCookies()
A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReason field set.
-
getHeaders
final JsonElement getHeaders()
Raw request headers as they will be sent over the wire.
-
getClientSecurityState
final ClientSecurityState getClientSecurityState()
The client security state set for the request.
-
-
-
-