Class RequestWillBeSentExtraInfo

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

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

    • RequestWillBeSentExtraInfo

      public RequestWillBeSentExtraInfo()
  • Method Details

    • getRequestId

      public String getRequestId()
      Request identifier. Used to match this information to an existing requestWillBeSent event.
    • setRequestId

      public void setRequestId(String requestId)
      Request identifier. Used to match this information to an existing requestWillBeSent event.
    • getAssociatedCookies

      public List<BlockedCookieWithReason> getAssociatedCookies()
      A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReason field set.
    • setAssociatedCookies

      public void setAssociatedCookies(List<BlockedCookieWithReason> associatedCookies)
      A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReason field set.
    • getHeaders

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

      public void setHeaders(Map<String,Object> headers)
      Raw request headers as they will be sent over the wire.
    • getClientSecurityState

      public ClientSecurityState getClientSecurityState()
      The client security state set for the request.
    • setClientSecurityState

      public void setClientSecurityState(ClientSecurityState clientSecurityState)
      The client security state set for the request.