java.lang.Object
org.htmlunit.csp.CspQueriesInOrigin
org.htmlunit.csp.PolicyListInOrigin
A convenience wrapper that pairs a
PolicyList with its
origin. Query methods are defined on
CspQueriesInOrigin; AND semantics come from PolicyList.- Since:
- 5.4.0
- Author:
- Ronald Brill, Rick Mitchell
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.htmlunit.csp.CspQueriesInOrigin
allowsConnection, allowsEval, allowsFontFromSource, allowsFormAction, allowsFrameAncestor, allowsFrameFromSource, allowsImageFromSource, allowsManifestFromSource, allowsMediaFromSource, allowsNavigation, allowsObjectFromSource, allowsPrefetchFromSource, allowsScriptFromSource, allowsStyleFromSource, allowsUnsafeInlineScript, allowsUnsafeInlineStyle, allowsWorkerFromSource, getOrigin, getQueries
-
Constructor Details
-
PolicyListInOrigin
Ctor.- Parameters:
policyList- the Content Security Policy list to query againstorigin- the origin of the protected resource
-
-
Method Details
-
getPolicyList
Returns the underlyingPolicyList.- Returns:
- the policy list associated with this origin-bound wrapper
-