Class Fetch.getResponseBody$$RET

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BaseType<?>>
    Enclosing class:
    Fetch

    public static class Fetch.getResponseBody$$RET
    extends BaseType<Fetch.getResponseBody$$RET>
    implements java.io.Serializable
    This Nested Java Class was written in order to incorporate the litany of all return-values from the browser command getResponseBody. This command is defined in the Fetch domain, which is located in the BrowserAPI.

    📌 All browser commands having a dedicated return type nested class will have a name which begins with a lower case letter, and ends with the string '$$RET'.

    ⚠️ Browser return types are only created for commands in which 2 or more values are returned by a CDP command.
    Causes the body of the response to be received from the server and returned as a single string. May only be issued for a request that is paused in the Response stage and is mutually exclusive with takeResponseBodyForInterceptionAsStream. Calling other methods that affect the request or disabling fetch domain before body is received results in an undefined behavior. Note that the response body is not available for redirects. Requests paused in the _redirect received_ state may be differentiated by responseCode and presence of location response header, see comments to requestPaused for details.
    See Also:
    Fetch.getResponseBody(java.lang.String), Serialized Form