Class RequestWillBeSent


  • public class RequestWillBeSent
    extends java.lang.Object
    Fired when page is about to send HTTP request
    • Constructor Detail

      • RequestWillBeSent

        public RequestWillBeSent()
    • Method Detail

      • getRequestId

        public java.lang.String getRequestId()
        Request identifier.
      • setRequestId

        public void setRequestId​(java.lang.String requestId)
        Request identifier.
      • getLoaderId

        public java.lang.String getLoaderId()
        Loader identifier. Empty string if the request is fetched from worker.
      • setLoaderId

        public void setLoaderId​(java.lang.String loaderId)
        Loader identifier. Empty string if the request is fetched from worker.
      • getDocumentURL

        public java.lang.String getDocumentURL()
        URL of the document this request is loaded for.
      • setDocumentURL

        public void setDocumentURL​(java.lang.String documentURL)
        URL of the document this request is loaded for.
      • getRequest

        public Request getRequest()
        Request data.
      • setRequest

        public void setRequest​(Request request)
        Request data.
      • getTimestamp

        public java.lang.Double getTimestamp()
        Timestamp.
      • setTimestamp

        public void setTimestamp​(java.lang.Double timestamp)
        Timestamp.
      • getWallTime

        public java.lang.Double getWallTime()
        Timestamp.
      • setWallTime

        public void setWallTime​(java.lang.Double wallTime)
        Timestamp.
      • getInitiator

        public Initiator getInitiator()
        Request initiator.
      • setInitiator

        public void setInitiator​(Initiator initiator)
        Request initiator.
      • getRedirectResponse

        public Response getRedirectResponse()
        Redirect response data.
      • setRedirectResponse

        public void setRedirectResponse​(Response redirectResponse)
        Redirect response data.
      • getType

        public ResourceType getType()
        Type of this resource.
      • setType

        public void setType​(ResourceType type)
        Type of this resource.
      • getFrameId

        public java.lang.String getFrameId()
        Frame identifier.
      • setFrameId

        public void setFrameId​(java.lang.String frameId)
        Frame identifier.
      • isHasUserGesture

        public java.lang.Boolean isHasUserGesture()
        Whether the request is initiated by a user gesture. Defaults to false.
      • setHasUserGesture

        public void setHasUserGesture​(java.lang.Boolean hasUserGesture)
        Whether the request is initiated by a user gesture. Defaults to false.