Class ResponseReceivedExtraInfo

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

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()  
  • Method Summary

    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.
    java.util.Map<java.lang.String,​java.lang.Object> getHeaders()
    Raw response headers as they were received over the wire.
    java.lang.String getHeadersText()
    Raw response header text as it was received over the wire.
    java.lang.String getRequestId()
    Request identifier.
    void setBlockedCookies​(java.util.List<BlockedSetCookieWithReason> blockedCookies)
    A list of cookies which were not stored from the response along with the corresponding reasons for blocking.
    void setHeaders​(java.util.Map<java.lang.String,​java.lang.Object> headers)
    Raw response headers as they were received over the wire.
    void setHeadersText​(java.lang.String headersText)
    Raw response header text as it was received over the wire.
    void setRequestId​(java.lang.String requestId)
    Request identifier.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getRequestId

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

      public void setRequestId​(java.lang.String requestId)
      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.
    • setBlockedCookies

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

      public void setHeaders​(java.util.Map<java.lang.String,​java.lang.Object> headers)
      Raw response headers as they were received over the wire.
    • getHeadersText

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

      public void setHeadersText​(java.lang.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.