Class PolicyInOrigin

java.lang.Object
org.htmlunit.csp.PolicyInOrigin

public class PolicyInOrigin extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getPolicy

      public Policy getPolicy()
    • allowsScriptFromSource

      public boolean allowsScriptFromSource(URLWithScheme url)
    • allowsStyleFromSource

      public boolean allowsStyleFromSource(URLWithScheme url)
    • allowsImageFromSource

      public boolean allowsImageFromSource(URLWithScheme url)
    • allowsFrameFromSource

      public boolean allowsFrameFromSource(URLWithScheme url)
    • allowsWorkerFromSource

      public boolean allowsWorkerFromSource(URLWithScheme url)
    • allowsFontFromSource

      public boolean allowsFontFromSource(URLWithScheme url)
    • allowsObjectFromSource

      public boolean allowsObjectFromSource(URLWithScheme url)
    • allowsMediaFromSource

      public boolean allowsMediaFromSource(URLWithScheme url)
    • allowsManifestFromSource

      public boolean allowsManifestFromSource(URLWithScheme url)
    • allowsPrefetchFromSource

      public boolean allowsPrefetchFromSource(URLWithScheme url)
    • allowsUnsafeInlineScript

      public boolean allowsUnsafeInlineScript()
    • allowsUnsafeInlineStyle

      public boolean allowsUnsafeInlineStyle()
    • allowsConnection

      public boolean allowsConnection(URLWithScheme url)
    • allowsNavigation

      public boolean allowsNavigation(URLWithScheme url)
    • allowsFrameAncestor

      public boolean allowsFrameAncestor(URLWithScheme url)
    • allowsFormAction

      public boolean allowsFormAction(URLWithScheme url)