Uses of Class
org.htmlunit.javascript.host.fetch.Response

Packages that use Response
Package
Description
Implementations of the Fetch JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.
  • Uses of Response in org.htmlunit.javascript.host.fetch

    Modifier and Type
    Method
    Description
    static Response
    Response.error(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function funObj)
    Returns a new network error response.
    Response.jsClone()
    Returns a copy of this response.
    static Response
    Response.jsConstructor(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope, Object[] args, org.htmlunit.corejs.javascript.Function ctorObj, boolean inNewExpr)
    JavaScript constructor.
    static Response
    Response.jsonStatic(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function funObj)
    Returns a response with the JSON serialization of the given data as body.
    static Response
    Response.redirect(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function funObj)
    Returns a redirect response.