Class ResponseReceived
- java.lang.Object
-
- org.openqa.selenium.devtools.v101.network.model.ResponseReceived
-
public class ResponseReceived extends java.lang.Object
Fired when HTTP response is available.
-
-
Constructor Summary
Constructors Constructor Description ResponseReceived(RequestId requestId, LoaderId loaderId, MonotonicTime timestamp, ResourceType type, Response response, java.lang.Boolean hasExtraInfo, java.util.Optional<FrameId> frameId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<FrameId>
getFrameId()
Frame identifier.java.lang.Boolean
getHasExtraInfo()
Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for this request.LoaderId
getLoaderId()
Loader identifier.RequestId
getRequestId()
Request identifier.Response
getResponse()
Response data.MonotonicTime
getTimestamp()
Timestamp.ResourceType
getType()
Resource type.
-
-
-
Constructor Detail
-
ResponseReceived
public ResponseReceived(RequestId requestId, LoaderId loaderId, MonotonicTime timestamp, ResourceType type, Response response, java.lang.Boolean hasExtraInfo, java.util.Optional<FrameId> frameId)
-
-
Method Detail
-
getRequestId
public RequestId getRequestId()
Request identifier.
-
getLoaderId
public LoaderId getLoaderId()
Loader identifier. Empty string if the request is fetched from worker.
-
getTimestamp
public MonotonicTime getTimestamp()
Timestamp.
-
getType
public ResourceType getType()
Resource type.
-
getResponse
public Response getResponse()
Response data.
-
getHasExtraInfo
@Beta public java.lang.Boolean getHasExtraInfo()
Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for this request.
-
getFrameId
public java.util.Optional<FrameId> getFrameId()
Frame identifier.
-
-