public class RequestIntercepted extends Object
Constructor and Description |
---|
RequestIntercepted() |
Modifier and Type | Method and Description |
---|---|
AuthChallenge |
getAuthChallenge()
Details of the Authorization Challenge encountered.
|
String |
getInterceptionId()
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.
|
Map<String,Object> |
getRedirectHeaders()
HTTP response headers, only sent if a redirect was intercepted.
|
Integer |
getRedirectStatusCode()
HTTP response code, only sent if a redirect was intercepted.
|
String |
getRedirectUrl()
Redirect location, only sent if a redirect was intercepted.
|
Request |
getRequest() |
ResourceType |
getResourceType()
How the requested resource will be used.
|
Boolean |
isIsNavigationRequest()
Whether this is a navigation request, which can abort the navigation completely.
|
void |
setAuthChallenge(AuthChallenge authChallenge)
Details of the Authorization Challenge encountered.
|
void |
setInterceptionId(String interceptionId)
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 |
setIsNavigationRequest(Boolean isNavigationRequest)
Whether this is a navigation request, which can abort the navigation completely.
|
void |
setRedirectHeaders(Map<String,Object> redirectHeaders)
HTTP response headers, only sent if a redirect was intercepted.
|
void |
setRedirectStatusCode(Integer redirectStatusCode)
HTTP response code, only sent if a redirect was intercepted.
|
void |
setRedirectUrl(String redirectUrl)
Redirect location, only sent if a redirect was intercepted.
|
void |
setRequest(Request request) |
void |
setResourceType(ResourceType resourceType)
How the requested resource will be used.
|
public String getInterceptionId()
public void setInterceptionId(String interceptionId)
public Request getRequest()
public void setRequest(Request request)
public ResourceType getResourceType()
public void setResourceType(ResourceType resourceType)
public Boolean isIsNavigationRequest()
public void setIsNavigationRequest(Boolean isNavigationRequest)
public Map<String,Object> getRedirectHeaders()
public void setRedirectHeaders(Map<String,Object> redirectHeaders)
public Integer getRedirectStatusCode()
public void setRedirectStatusCode(Integer redirectStatusCode)
public String getRedirectUrl()
public void setRedirectUrl(String redirectUrl)
public AuthChallenge getAuthChallenge()
public void setAuthChallenge(AuthChallenge authChallenge)
Copyright © 2017 WebFolder OÜ. All rights reserved.