Class ResponseReceivedExtraInfo
- java.lang.Object
-
- org.openqa.selenium.devtools.v85.network.model.ResponseReceivedExtraInfo
-
@Beta public class ResponseReceivedExtraInfo extends java.lang.Object
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.
-
-
Constructor Summary
Constructors Constructor Description ResponseReceivedExtraInfo(RequestId requestId, java.util.List<BlockedSetCookieWithReason> blockedCookies, Headers headers, java.util.Optional<java.lang.String> headersText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BlockedSetCookieWithReason>
getBlockedCookies()
A list of cookies which were not stored from the response along with the corresponding reasons for blocking.Headers
getHeaders()
Raw response headers as they were received over the wire.java.util.Optional<java.lang.String>
getHeadersText()
Raw response header text as it was received over the wire.RequestId
getRequestId()
Request identifier.
-
-
-
Constructor Detail
-
ResponseReceivedExtraInfo
public ResponseReceivedExtraInfo(RequestId requestId, java.util.List<BlockedSetCookieWithReason> blockedCookies, Headers headers, java.util.Optional<java.lang.String> headersText)
-
-
Method Detail
-
getRequestId
public RequestId getRequestId()
Request identifier. Used to match this information to another responseReceived event.
-
getBlockedCookies
public java.util.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
public Headers getHeaders()
Raw response headers as they were received over the wire.
-
getHeadersText
public java.util.Optional<java.lang.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.
-
-