Uses of Class
org.htmlunit.csp.url.URLWithScheme
Packages that use URLWithScheme
Package
Description
Content Security Policy.
Content Security Policy url support.
-
Uses of URLWithScheme in org.htmlunit.csp
Methods in org.htmlunit.csp that return URLWithSchemeMethods in org.htmlunit.csp with parameters of type URLWithSchemeModifier and TypeMethodDescriptionbooleanPolicyInOrigin.allowsConnection(URLWithScheme url) Determines whether the policy allows a connection (e.g.booleanPolicyInOrigin.allowsFontFromSource(URLWithScheme url) Determines whether the policy allows loading a font from the given URL.booleanPolicyInOrigin.allowsFormAction(URLWithScheme url) Determines whether the policy allows a form submission to the given URL.booleanPolicyInOrigin.allowsFrameAncestor(URLWithScheme url) Determines whether the policy allows being framed by the given ancestor URL.booleanPolicyInOrigin.allowsFrameFromSource(URLWithScheme url) Determines whether the policy allows loading a frame from the given URL.booleanPolicyInOrigin.allowsImageFromSource(URLWithScheme url) Determines whether the policy allows loading an image from the given URL.booleanPolicyInOrigin.allowsManifestFromSource(URLWithScheme url) Determines whether the policy allows loading an application manifest from the given URL.booleanPolicyInOrigin.allowsMediaFromSource(URLWithScheme url) Determines whether the policy allows loading media (audio/video) from the given URL.booleanPolicyInOrigin.allowsNavigation(URLWithScheme url) Determines whether the policy allows navigation to the given URL.booleanPolicyInOrigin.allowsObjectFromSource(URLWithScheme url) Determines whether the policy allows loading an object/embed/applet from the given URL.booleanPolicyInOrigin.allowsPrefetchFromSource(URLWithScheme url) Determines whether the policy allows a prefetch from the given URL.booleanPolicyInOrigin.allowsScriptFromSource(URLWithScheme url) Determines whether the policy allows loading an external script from the given URL.booleanPolicyInOrigin.allowsStyleFromSource(URLWithScheme url) Determines whether the policy allows loading an external stylesheet from the given URL.booleanPolicyInOrigin.allowsWorkerFromSource(URLWithScheme url) Determines whether the policy allows loading a worker from the given URL.static booleanPolicy.doesUrlMatchSourceListInOrigin(URLWithScheme url, HostSourceDirective list, Optional<? extends URLWithScheme> origin) Determines whether a URL matches a source list in the context of a given origin.Method parameters in org.htmlunit.csp with type arguments of type URLWithSchemeModifier and TypeMethodDescriptionbooleanPolicy.allowsApplicationManifest(Optional<? extends URLWithScheme> source, Optional<? extends URLWithScheme> origin) Determines whether this policy allows loading an application manifest from the given source.booleanPolicy.allowsConnection(Optional<? extends URLWithScheme> source, Optional<? extends URLWithScheme> origin) Determines whether this policy allows a connection (e.g.booleanPolicy.allowsFont(Optional<? extends URLWithScheme> source, Optional<? extends URLWithScheme> origin) Determines whether this policy allows loading a font from the given source.booleanPolicy.allowsFormAction(Optional<? extends URLWithScheme> to, Optional<Boolean> redirected, Optional<? extends URLWithScheme> redirectedTo, Optional<? extends URLWithScheme> origin) Determines whether this policy allows a form submission to the given URL.booleanPolicy.allowsFrame(Optional<? extends URLWithScheme> source, Optional<? extends URLWithScheme> origin) Determines whether this policy allows loading a frame (iframe/frame) from the given source.booleanPolicy.allowsFrameAncestor(Optional<? extends URLWithScheme> source, Optional<? extends URLWithScheme> origin) Determines whether this policy allows being framed by the given ancestor origin.booleanPolicy.allowsImage(Optional<? extends URLWithScheme> source, Optional<? extends URLWithScheme> origin) Determines whether this policy allows loading an image from the given source.booleanPolicy.allowsMedia(Optional<? extends URLWithScheme> source, Optional<? extends URLWithScheme> origin) Determines whether this policy allows loading media (audio/video) from the given source.booleanPolicy.allowsNavigation(Optional<? extends URLWithScheme> to, Optional<Boolean> redirected, Optional<? extends URLWithScheme> redirectedTo, Optional<? extends URLWithScheme> origin) Determines whether this policy allows a navigation to the given URL.booleanPolicy.allowsObject(Optional<? extends URLWithScheme> source, Optional<? extends URLWithScheme> origin) Determines whether this policy allows loading an object/embed/applet from the given source.booleanPolicy.allowsPrefetch(Optional<? extends URLWithScheme> source, Optional<? extends URLWithScheme> origin) Determines whether this policy allows a prefetch from the given source.booleanPolicy.allowsWorker(Optional<? extends URLWithScheme> source, Optional<? extends URLWithScheme> origin) Determines whether this policy allows loading a worker (dedicated, shared, or service) from the given source.static booleanPolicy.doesUrlMatchSourceListInOrigin(URLWithScheme url, HostSourceDirective list, Optional<? extends URLWithScheme> origin) Determines whether a URL matches a source list in the context of a given origin.Constructors in org.htmlunit.csp with parameters of type URLWithScheme -
Uses of URLWithScheme in org.htmlunit.csp.url
Subclasses of URLWithScheme in org.htmlunit.csp.url