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
Methods in org.htmlunit.javascript.host.fetch that return ResponseModifier and TypeMethodDescriptionstatic ResponseResponse.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 ResponseResponse.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 ResponseResponse.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 ResponseResponse.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.