Module org.htmlunit
Package org.htmlunit.javascript.host.fetch
package org.htmlunit.javascript.host.fetch
Implementations of the Fetch JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
-
ClassDescriptionINTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
The network part offetch()andXMLHttpRequestfor requests in 'cors' mode: the CORS checks, the preflight requests and the redirect handling of the fetch standard.The credentials mode of the request.Thrown if the CORS check fails.A redirect that is not allowed (or not possible); this is a network error.The redirect mode of the request.The mode of the request (the modes 'navigate' and 'websocket' are not supported here).The result ofCorsLoader.load(WebRequest, boolean).The implementation offetch().A JavaScript object forHeaders.The guard of a headers object; determines which changes are allowed.ES6Iteratorimplementation for the iterators ofHeaders.A JavaScript object forRequest.A JavaScript object forResponse.