Class RequestWillBeSentExtraInfo
java.lang.Object
org.openqa.selenium.devtools.v141.network.model.RequestWillBeSentExtraInfo
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.
-
Constructor Summary
ConstructorsConstructorDescriptionRequestWillBeSentExtraInfo(RequestId requestId, List<AssociatedCookie> associatedCookies, Headers headers, ConnectTiming connectTiming, Optional<ClientSecurityState> clientSecurityState, Optional<Boolean> siteHasCookieInOtherPartition) -
Method Summary
Modifier and TypeMethodDescriptionA list of cookies potentially associated to the requested URL.The client security state set for the request.Connection timing information for the request.Raw request headers as they will be sent over the wire.Request identifier.Whether the site has partitioned cookies stored in a partition different than the current one.
-
Constructor Details
-
RequestWillBeSentExtraInfo
public RequestWillBeSentExtraInfo(RequestId requestId, List<AssociatedCookie> associatedCookies, Headers headers, ConnectTiming connectTiming, Optional<ClientSecurityState> clientSecurityState, Optional<Boolean> siteHasCookieInOtherPartition)
-
-
Method Details
-
getRequestId
Request identifier. Used to match this information to an existing requestWillBeSent event. -
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 blockedReasons field set. -
getHeaders
Raw request headers as they will be sent over the wire. -
getConnectTiming
Connection timing information for the request. -
getClientSecurityState
The client security state set for the request. -
getSiteHasCookieInOtherPartition
Whether the site has partitioned cookies stored in a partition different than the current one.
-