Class RequestWillBeSent
java.lang.Object
org.openqa.selenium.devtools.v85.network.model.RequestWillBeSent
Fired when page is about to send HTTP request.
-
Constructor Summary
ConstructorsConstructorDescriptionRequestWillBeSent
(RequestId requestId, LoaderId loaderId, String documentURL, Request request, MonotonicTime timestamp, TimeSinceEpoch wallTime, Initiator initiator, Optional<Response> redirectResponse, Optional<ResourceType> type, Optional<FrameId> frameId, Optional<Boolean> hasUserGesture) -
Method Summary
Modifier and TypeMethodDescriptionURL of the document this request is loaded for.Frame identifier.Whether the request is initiated by a user gesture.Request initiator.Loader identifier.Redirect response data.Request data.Request identifier.Timestamp.getType()
Type of this resource.Timestamp.
-
Constructor Details
-
RequestWillBeSent
public RequestWillBeSent(RequestId requestId, LoaderId loaderId, String documentURL, Request request, MonotonicTime timestamp, TimeSinceEpoch wallTime, Initiator initiator, Optional<Response> redirectResponse, Optional<ResourceType> type, Optional<FrameId> frameId, Optional<Boolean> hasUserGesture)
-
-
Method Details
-
getRequestId
Request identifier. -
getLoaderId
Loader identifier. Empty string if the request is fetched from worker. -
getDocumentURL
URL of the document this request is loaded for. -
getRequest
Request data. -
getTimestamp
Timestamp. -
getWallTime
Timestamp. -
getInitiator
Request initiator. -
getRedirectResponse
Redirect response data. -
getType
Type of this resource. -
getFrameId
Frame identifier. -
getHasUserGesture
Whether the request is initiated by a user gesture. Defaults to false.
-