public class SandboxDirective extends Directive
Directive.DirectiveErrorConsumer, Directive.ManipulationErrorConsumercontainsNonDirectiveCharacter, values| Constructor and Description |
|---|
SandboxDirective(List<String> values,
Directive.DirectiveErrorConsumer errors) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowDownloads() |
boolean |
allowForms() |
boolean |
allowModals() |
boolean |
allowOrientationLock() |
boolean |
allowPointerLock() |
boolean |
allowPopups() |
boolean |
allowPopupsToEscapeSandbox() |
boolean |
allowPresentation() |
boolean |
allowSameOrigin() |
boolean |
allowScripts() |
boolean |
allowStorageAccessByUserActivation() |
boolean |
allowTopNavigation() |
boolean |
allowTopNavigationByUserActivation() |
void |
setAllowDownloads(boolean allowDownloads) |
void |
setAllowForms(boolean allowForms) |
void |
setAllowModals(boolean allowModals) |
void |
setAllowOrientationLock(boolean allowOrientationLock) |
void |
setAllowPointerLock(boolean allowPointerLock) |
void |
setAllowPopups(boolean allowPopups) |
void |
setAllowPopupsToEscapeSandbox(boolean allowPopupsToEscapeSandbox) |
void |
setAllowPresentation(boolean allowPresentation) |
void |
setAllowSameOrigin(boolean allowSameOrigin) |
void |
setAllowScripts(boolean allowScripts) |
void |
setAllowStorageAccessByUserActivation(boolean allowStorageAccessByUserActivation) |
void |
setAllowTopNavigation(boolean allowTopNavigation) |
void |
setAllowTopNavigationByUserActivation(boolean allowTopNavigationByUserActivation) |
addValue, getValues, removeValueIgnoreCase, wrapManipulationErrorConsumerpublic SandboxDirective(List<String> values, Directive.DirectiveErrorConsumer errors)
public boolean allowDownloads()
public void setAllowDownloads(boolean allowDownloads)
public boolean allowForms()
public void setAllowForms(boolean allowForms)
public boolean allowModals()
public void setAllowModals(boolean allowModals)
public boolean allowOrientationLock()
public void setAllowOrientationLock(boolean allowOrientationLock)
public boolean allowPointerLock()
public void setAllowPointerLock(boolean allowPointerLock)
public boolean allowPopups()
public void setAllowPopups(boolean allowPopups)
public boolean allowPopupsToEscapeSandbox()
public void setAllowPopupsToEscapeSandbox(boolean allowPopupsToEscapeSandbox)
public boolean allowPresentation()
public void setAllowPresentation(boolean allowPresentation)
public boolean allowSameOrigin()
public void setAllowSameOrigin(boolean allowSameOrigin)
public boolean allowScripts()
public void setAllowScripts(boolean allowScripts)
public boolean allowStorageAccessByUserActivation()
public void setAllowStorageAccessByUserActivation(boolean allowStorageAccessByUserActivation)
public boolean allowTopNavigation()
public void setAllowTopNavigation(boolean allowTopNavigation)
public boolean allowTopNavigationByUserActivation()
public void setAllowTopNavigationByUserActivation(boolean allowTopNavigationByUserActivation)
Copyright © 2020. All rights reserved.