public class RequestPaused extends Object
| Constructor and Description |
|---|
RequestPaused() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFrameId()
The id of the frame that initiated the request.
|
String |
getNetworkId()
If the intercepted request had a corresponding Network.requestWillBeSent event fired for it,
then this networkId will be the same as the requestId present in the requestWillBeSent event.
|
Request |
getRequest()
The details of the request.
|
String |
getRequestId()
Each request the page makes will have a unique id.
|
ResourceType |
getResourceType()
How the requested resource will be used.
|
ErrorReason |
getResponseErrorReason()
Response error if intercepted at response stage.
|
List<HeaderEntry> |
getResponseHeaders()
Response headers if intercepted at the response stage.
|
Integer |
getResponseStatusCode()
Response code if intercepted at response stage.
|
void |
setFrameId(String frameId)
The id of the frame that initiated the request.
|
void |
setNetworkId(String networkId)
If the intercepted request had a corresponding Network.requestWillBeSent event fired for it,
then this networkId will be the same as the requestId present in the requestWillBeSent event.
|
void |
setRequest(Request request)
The details of the request.
|
void |
setRequestId(String requestId)
Each request the page makes will have a unique id.
|
void |
setResourceType(ResourceType resourceType)
How the requested resource will be used.
|
void |
setResponseErrorReason(ErrorReason responseErrorReason)
Response error if intercepted at response stage.
|
void |
setResponseHeaders(List<HeaderEntry> responseHeaders)
Response headers if intercepted at the response stage.
|
void |
setResponseStatusCode(Integer responseStatusCode)
Response code if intercepted at response stage.
|
public String getRequestId()
public void setRequestId(String requestId)
public Request getRequest()
public void setRequest(Request request)
public String getFrameId()
public void setFrameId(String frameId)
public ResourceType getResourceType()
public void setResourceType(ResourceType resourceType)
public ErrorReason getResponseErrorReason()
public void setResponseErrorReason(ErrorReason responseErrorReason)
public Integer getResponseStatusCode()
public void setResponseStatusCode(Integer responseStatusCode)
public List<HeaderEntry> getResponseHeaders()
public void setResponseHeaders(List<HeaderEntry> responseHeaders)
public String getNetworkId()
public void setNetworkId(String networkId)
Copyright © 2020. All rights reserved.