@Deprecated public class RequestIntercepted extends Object
| Constructor and Description |
|---|
RequestIntercepted()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AuthChallenge |
getAuthChallenge()
Deprecated.
Details of the Authorization Challenge encountered.
|
String |
getFrameId()
Deprecated.
The id of the frame that initiated the request.
|
String |
getInterceptionId()
Deprecated.
Each request the page makes will have a unique id, however if any redirects are encountered
while processing that fetch, they will be reported with the same id as the original fetch.
|
Boolean |
getIsDownload()
Deprecated.
Set if the request is a navigation that will result in a download.
|
Boolean |
getIsNavigationRequest()
Deprecated.
Whether this is a navigation request, which can abort the navigation completely.
|
String |
getRedirectUrl()
Deprecated.
Redirect location, only sent if a redirect was intercepted.
|
Request |
getRequest()
Deprecated.
|
String |
getRequestId()
Deprecated.
If the intercepted request had a corresponding requestWillBeSent event fired for it, then this
requestId will be the same as the requestId present in the requestWillBeSent event.
|
ResourceType |
getResourceType()
Deprecated.
How the requested resource will be used.
|
ErrorReason |
getResponseErrorReason()
Deprecated.
Response error if intercepted at response stage or if redirect occurred while intercepting
request.
|
Map<String,Object> |
getResponseHeaders()
Deprecated.
Response headers if intercepted at the response stage or if redirect occurred while
intercepting request or auth retry occurred.
|
Integer |
getResponseStatusCode()
Deprecated.
Response code if intercepted at response stage or if redirect occurred while intercepting
request or auth retry occurred.
|
void |
setAuthChallenge(AuthChallenge authChallenge)
Deprecated.
Details of the Authorization Challenge encountered.
|
void |
setFrameId(String frameId)
Deprecated.
The id of the frame that initiated the request.
|
void |
setInterceptionId(String interceptionId)
Deprecated.
Each request the page makes will have a unique id, however if any redirects are encountered
while processing that fetch, they will be reported with the same id as the original fetch.
|
void |
setIsDownload(Boolean isDownload)
Deprecated.
Set if the request is a navigation that will result in a download.
|
void |
setIsNavigationRequest(Boolean isNavigationRequest)
Deprecated.
Whether this is a navigation request, which can abort the navigation completely.
|
void |
setRedirectUrl(String redirectUrl)
Deprecated.
Redirect location, only sent if a redirect was intercepted.
|
void |
setRequest(Request request)
Deprecated.
|
void |
setRequestId(String requestId)
Deprecated.
If the intercepted request had a corresponding requestWillBeSent event fired for it, then this
requestId will be the same as the requestId present in the requestWillBeSent event.
|
void |
setResourceType(ResourceType resourceType)
Deprecated.
How the requested resource will be used.
|
void |
setResponseErrorReason(ErrorReason responseErrorReason)
Deprecated.
Response error if intercepted at response stage or if redirect occurred while intercepting
request.
|
void |
setResponseHeaders(Map<String,Object> responseHeaders)
Deprecated.
Response headers if intercepted at the response stage or if redirect occurred while
intercepting request or auth retry occurred.
|
void |
setResponseStatusCode(Integer responseStatusCode)
Deprecated.
Response code if intercepted at response stage or if redirect occurred while intercepting
request or auth retry occurred.
|
public String getInterceptionId()
public void setInterceptionId(String interceptionId)
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 Boolean getIsNavigationRequest()
public void setIsNavigationRequest(Boolean isNavigationRequest)
public Boolean getIsDownload()
public void setIsDownload(Boolean isDownload)
public String getRedirectUrl()
public void setRedirectUrl(String redirectUrl)
public AuthChallenge getAuthChallenge()
public void setAuthChallenge(AuthChallenge authChallenge)
public ErrorReason getResponseErrorReason()
public void setResponseErrorReason(ErrorReason responseErrorReason)
public Integer getResponseStatusCode()
public void setResponseStatusCode(Integer responseStatusCode)
public Map<String,Object> getResponseHeaders()
public void setResponseHeaders(Map<String,Object> responseHeaders)
public String getRequestId()
public void setRequestId(String requestId)
Copyright © 2020. All rights reserved.