-
@Deprecated(message = "Deprecated in the Chrome DevTools protocol") public final class ContinueInterceptedRequestRequest
Request object containing input parameters for the NetworkDomain.continueInterceptedRequest command.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringinterceptionIdprivate final ErrorReasonerrorReasonprivate final StringrawResponseprivate final Stringurlprivate final Stringmethodprivate final StringpostDataprivate final JsonElementheadersprivate final AuthChallengeResponseauthChallengeResponse
-
Constructor Summary
Constructors Constructor Description ContinueInterceptedRequestRequest(String interceptionId, ErrorReason errorReason, String rawResponse, String url, String method, String postData, JsonElement headers, AuthChallengeResponse authChallengeResponse)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final ErrorReasoncomponent2()final Stringcomponent3()final Stringcomponent4()final Stringcomponent5()final Stringcomponent6()final JsonElementcomponent7()final AuthChallengeResponsecomponent8()final ContinueInterceptedRequestRequestcopy(String interceptionId, ErrorReason errorReason, String rawResponse, String url, String method, String postData, JsonElement headers, AuthChallengeResponse authChallengeResponse)final StringgetInterceptionId()final ErrorReasongetErrorReason()If set this causes the request to fail with the given reason. final StringgetRawResponse()If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc... final StringgetUrl()If set the request url will be modified in a way that's not observable by page. final StringgetMethod()If set this allows the request method to be overridden. final StringgetPostData()If set this allows postData to be set. final JsonElementgetHeaders()If set this allows the request headers to be changed. final AuthChallengeResponsegetAuthChallengeResponse()Response to a requestIntercepted with an authChallenge. -
-
Constructor Detail
-
ContinueInterceptedRequestRequest
ContinueInterceptedRequestRequest(String interceptionId, ErrorReason errorReason, String rawResponse, String url, String method, String postData, JsonElement headers, AuthChallengeResponse authChallengeResponse)
-
-
Method Detail
-
component1
final String component1()
-
component2
final ErrorReason component2()
-
component3
final String component3()
-
component4
final String component4()
-
component5
final String component5()
-
component6
final String component6()
-
component7
final JsonElement component7()
-
component8
final AuthChallengeResponse component8()
-
copy
final ContinueInterceptedRequestRequest copy(String interceptionId, ErrorReason errorReason, String rawResponse, String url, String method, String postData, JsonElement headers, AuthChallengeResponse authChallengeResponse)
-
getInterceptionId
final String getInterceptionId()
-
getErrorReason
final ErrorReason getErrorReason()
If set this causes the request to fail with the given reason. Passing
Abortedfor requests marked withisNavigationRequestalso cancels the navigation. Must not be set in response to an authChallenge.
-
getRawResponse
final String getRawResponse()
If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc... Must not be set in response to an authChallenge. (Encoded as a base64 string when passed over JSON)
-
getUrl
final String getUrl()
If set the request url will be modified in a way that's not observable by page. Must not be set in response to an authChallenge.
-
getMethod
final String getMethod()
If set this allows the request method to be overridden. Must not be set in response to an authChallenge.
-
getPostData
final String getPostData()
If set this allows postData to be set. Must not be set in response to an authChallenge.
-
getHeaders
final JsonElement getHeaders()
If set this allows the request headers to be changed. Must not be set in response to an authChallenge.
-
getAuthChallengeResponse
final AuthChallengeResponse getAuthChallengeResponse()
Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
-
-
-
-