Class RequestWillBeSentExtraInfo
- java.lang.Object
-
- org.openqa.selenium.devtools.network.model.RequestWillBeSentExtraInfo
-
@Beta public class RequestWillBeSentExtraInfo extends java.lang.Object
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
Constructors Constructor Description RequestWillBeSentExtraInfo(RequestId requestId, java.util.List<BlockedCookieWithReason> blockedCookies, Headers headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BlockedCookieWithReason>
getBlockedCookies()
A list of cookies which will not be sent with this request along with corresponding reasons for blocking.Headers
getHeaders()
Raw request headers as they will be sent over the wire.RequestId
getRequestId()
Request identifier.
-
-
-
Constructor Detail
-
RequestWillBeSentExtraInfo
public RequestWillBeSentExtraInfo(RequestId requestId, java.util.List<BlockedCookieWithReason> blockedCookies, Headers headers)
-
-
Method Detail
-
getRequestId
public RequestId getRequestId()
Request identifier. Used to match this information to an existing requestWillBeSent event.
-
getBlockedCookies
public java.util.List<BlockedCookieWithReason> getBlockedCookies()
A list of cookies which will not be sent with this request along with corresponding reasons for blocking.
-
getHeaders
public Headers getHeaders()
Raw request headers as they will be sent over the wire.
-
-