public class PolicyInOrigin extends Object
| Modifier and Type | Field and Description |
|---|---|
URLWithScheme |
origin |
Policy |
policy |
| Constructor and Description |
|---|
PolicyInOrigin(Policy policy,
URLWithScheme origin) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsConnection(URLWithScheme url) |
boolean |
allowsFontFromSource(URLWithScheme url) |
boolean |
allowsFormAction(URLWithScheme url) |
boolean |
allowsFrameAncestor(URLWithScheme url) |
boolean |
allowsFrameFromSource(URLWithScheme url) |
boolean |
allowsImageFromSource(URLWithScheme url) |
boolean |
allowsManifestFromSource(URLWithScheme url) |
boolean |
allowsMediaFromSource(URLWithScheme url) |
boolean |
allowsNavigation(URLWithScheme url) |
boolean |
allowsObjectFromSource(URLWithScheme url) |
boolean |
allowsPrefetchFromSource(URLWithScheme url) |
boolean |
allowsScriptFromSource(URLWithScheme url) |
boolean |
allowsStyleFromSource(URLWithScheme url) |
boolean |
allowsUnsafeInlineScript() |
boolean |
allowsUnsafeInlineStyle() |
boolean |
allowsWorkerFromSource(URLWithScheme url) |
public final Policy policy
public final URLWithScheme origin
public PolicyInOrigin(Policy policy, URLWithScheme origin)
public boolean allowsScriptFromSource(URLWithScheme url)
public boolean allowsStyleFromSource(URLWithScheme url)
public boolean allowsImageFromSource(URLWithScheme url)
public boolean allowsFrameFromSource(URLWithScheme url)
public boolean allowsWorkerFromSource(URLWithScheme url)
public boolean allowsFontFromSource(URLWithScheme url)
public boolean allowsObjectFromSource(URLWithScheme url)
public boolean allowsMediaFromSource(URLWithScheme url)
public boolean allowsManifestFromSource(URLWithScheme url)
public boolean allowsPrefetchFromSource(URLWithScheme url)
public boolean allowsUnsafeInlineScript()
public boolean allowsUnsafeInlineStyle()
public boolean allowsConnection(URLWithScheme url)
public boolean allowsNavigation(URLWithScheme url)
public boolean allowsFrameAncestor(URLWithScheme url)
public boolean allowsFormAction(URLWithScheme url)
Copyright © 2020. All rights reserved.