Package io.webfolder.cdp.event.fetch
Class AuthRequired
- java.lang.Object
-
- io.webfolder.cdp.event.fetch.AuthRequired
-
public class AuthRequired extends java.lang.Object
Issued when the domain is enabled with handleAuthRequests set to true The request is paused until client responds with continueWithAuth
-
-
Constructor Summary
Constructors Constructor Description AuthRequired()
-
Method Summary
Modifier and Type Method Description AuthChallenge
getAuthChallenge()
Details of the Authorization Challenge encountered.java.lang.String
getFrameId()
The id of the frame that initiated the request.Request
getRequest()
The details of the request.java.lang.String
getRequestId()
Each request the page makes will have a unique id.ResourceType
getResourceType()
How the requested resource will be used.void
setAuthChallenge(AuthChallenge authChallenge)
Details of the Authorization Challenge encountered.void
setFrameId(java.lang.String frameId)
The id of the frame that initiated the request.void
setRequest(Request request)
The details of the request.void
setRequestId(java.lang.String requestId)
Each request the page makes will have a unique id.void
setResourceType(ResourceType resourceType)
How the requested resource will be used.
-
-
-
Method Detail
-
getRequestId
public java.lang.String getRequestId()
Each request the page makes will have a unique id.
-
setRequestId
public void setRequestId(java.lang.String requestId)
Each request the page makes will have a unique id.
-
getRequest
public Request getRequest()
The details of the request.
-
setRequest
public void setRequest(Request request)
The details of the request.
-
getFrameId
public java.lang.String getFrameId()
The id of the frame that initiated the request.
-
setFrameId
public void setFrameId(java.lang.String frameId)
The id of the frame that initiated the request.
-
getResourceType
public ResourceType getResourceType()
How the requested resource will be used.
-
setResourceType
public void setResourceType(ResourceType resourceType)
How the requested resource will be used.
-
getAuthChallenge
public AuthChallenge getAuthChallenge()
Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.
-
setAuthChallenge
public void setAuthChallenge(AuthChallenge authChallenge)
Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.
-
-