Class ResponseReceivedExtraInfo

java.lang.Object
io.webfolder.cdp.event.network.ResponseReceivedExtraInfo

public class ResponseReceivedExtraInfo extends 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 Details

    • ResponseReceivedExtraInfo

      public ResponseReceivedExtraInfo()
  • Method Details

    • getRequestId

      public String getRequestId()
      Request identifier. Used to match this information to another responseReceived event.
    • setRequestId

      public void setRequestId(String requestId)
      Request identifier. Used to match this information to another responseReceived event.
    • getBlockedCookies

      public 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.
    • setBlockedCookies

      public void setBlockedCookies(List<BlockedSetCookieWithReason> blockedCookies)
      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 Map<String,Object> getHeaders()
      Raw response headers as they were received over the wire.
    • setHeaders

      public void setHeaders(Map<String,Object> headers)
      Raw response headers as they were received over the wire.
    • getResourceIPAddressSpace

      public IPAddressSpace getResourceIPAddressSpace()
      The IP address space of the resource. The address space can only be determined once the transport established the connection, so we can't send it in requestWillBeSentExtraInfo.
    • setResourceIPAddressSpace

      public void setResourceIPAddressSpace(IPAddressSpace resourceIPAddressSpace)
      The IP address space of the resource. The address space can only be determined once the transport established the connection, so we can't send it in requestWillBeSentExtraInfo.
    • getHeadersText

      public 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.
    • setHeadersText

      public void setHeadersText(String headersText)
      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.