Class RequestWillBeSent
- java.lang.Object
-
- org.openqa.selenium.devtools.network.model.RequestWillBeSent
-
public class RequestWillBeSent extends java.lang.Object
Fired when page is about to send HTTP request.
-
-
Constructor Summary
Constructors Constructor Description RequestWillBeSent(RequestId requestId, LoaderId loaderId, java.lang.String documentURL, Request request, MonotonicTime timestamp, TimeSinceEpoch wallTime, Initiator initiator, Response redirectResponse, ResourceType type, FrameId frameId, java.lang.Boolean hasUserGesture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDocumentURL()
URL of the document this request is loaded for.FrameId
getFrameId()
Frame identifier.java.lang.Boolean
getHasUserGesture()
Whether the request is initiated by a user gesture.Initiator
getInitiator()
Request initiator.LoaderId
getLoaderId()
Loader identifier.Response
getRedirectResponse()
Redirect response data.Request
getRequest()
Request data.RequestId
getRequestId()
Request identifier.MonotonicTime
getTimestamp()
Timestamp.ResourceType
getType()
Type of this resource.TimeSinceEpoch
getWallTime()
Timestamp.
-
-
-
Constructor Detail
-
RequestWillBeSent
public RequestWillBeSent(RequestId requestId, LoaderId loaderId, java.lang.String documentURL, Request request, MonotonicTime timestamp, TimeSinceEpoch wallTime, Initiator initiator, Response redirectResponse, ResourceType type, FrameId frameId, java.lang.Boolean hasUserGesture)
-
-
Method Detail
-
getRequestId
public RequestId getRequestId()
Request identifier.
-
getLoaderId
public LoaderId getLoaderId()
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.
-
getRequest
public Request getRequest()
Request data.
-
getTimestamp
public MonotonicTime getTimestamp()
Timestamp.
-
getWallTime
public TimeSinceEpoch getWallTime()
Timestamp.
-
getInitiator
public Initiator getInitiator()
Request initiator.
-
getRedirectResponse
public Response getRedirectResponse()
Redirect response data.
-
getType
public ResourceType getType()
Type of this resource.
-
getFrameId
public FrameId getFrameId()
Frame identifier.
-
getHasUserGesture
public java.lang.Boolean getHasUserGesture()
Whether the request is initiated by a user gesture. Defaults to false.
-
-