Class RequestWillBeSentExtraInfo

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

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

    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.
    java.util.Map<java.lang.String,​java.lang.Object> getHeaders()
    Raw request headers as they will be sent over the wire.
    java.lang.String getRequestId()
    Request identifier.
    void setBlockedCookies​(java.util.List<BlockedCookieWithReason> blockedCookies)
    A list of cookies which will not be sent with this request along with corresponding reasons for blocking.
    void setHeaders​(java.util.Map<java.lang.String,​java.lang.Object> headers)
    Raw request headers as they will be sent 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 an existing requestWillBeSent event.
    • setRequestId

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

      public void setBlockedCookies​(java.util.List<BlockedCookieWithReason> blockedCookies)
      A list of cookies which will not be sent with this request along with corresponding reasons for blocking.
    • getHeaders

      public java.util.Map<java.lang.String,​java.lang.Object> getHeaders()
      Raw request headers as they will be sent over the wire.
    • setHeaders

      public void setHeaders​(java.util.Map<java.lang.String,​java.lang.Object> headers)
      Raw request headers as they will be sent over the wire.