Package org.htmlunit.csp.directive
Class SandboxDirective
- java.lang.Object
-
- org.htmlunit.csp.Directive
-
- org.htmlunit.csp.directive.SandboxDirective
-
public class SandboxDirective extends Directive
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.htmlunit.csp.Directive
Directive.DirectiveErrorConsumer
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringALLOW_DOWNLOADSprivate booleanallowDownloads_private booleanallowForms_private booleanallowModals_private booleanallowOrientationLock_private booleanallowPointerLock_private booleanallowPopups_private booleanallowPopupsToEscapeSandbox_private booleanallowPresentation_private booleanallowSameOrigin_private booleanallowScripts_private booleanallowStorageAccessByUserActivation_private booleanallowTopNavigation_private booleanallowTopNavigationByUserActivation_-
Fields inherited from class org.htmlunit.csp.Directive
containsNonDirectiveCharacter, IS_DIRECTIVE_NAME
-
-
Constructor Summary
Constructors Constructor Description SandboxDirective(java.util.List<java.lang.String> values, Directive.DirectiveErrorConsumer errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowDownloads()booleanallowForms()booleanallowModals()booleanallowOrientationLock()booleanallowPointerLock()booleanallowPopups()booleanallowPopupsToEscapeSandbox()booleanallowPresentation()booleanallowSameOrigin()booleanallowScripts()booleanallowStorageAccessByUserActivation()booleanallowTopNavigation()booleanallowTopNavigationByUserActivation()-
Methods inherited from class org.htmlunit.csp.Directive
addValue, getValues, removeValueIgnoreCase
-
-
-
-
Field Detail
-
ALLOW_DOWNLOADS
private static final java.lang.String ALLOW_DOWNLOADS
- See Also:
- Constant Field Values
-
allowDownloads_
private boolean allowDownloads_
-
allowForms_
private boolean allowForms_
-
allowModals_
private boolean allowModals_
-
allowOrientationLock_
private boolean allowOrientationLock_
-
allowPointerLock_
private boolean allowPointerLock_
-
allowPopups_
private boolean allowPopups_
-
allowPopupsToEscapeSandbox_
private boolean allowPopupsToEscapeSandbox_
-
allowPresentation_
private boolean allowPresentation_
-
allowSameOrigin_
private boolean allowSameOrigin_
-
allowScripts_
private boolean allowScripts_
-
allowStorageAccessByUserActivation_
private boolean allowStorageAccessByUserActivation_
-
allowTopNavigation_
private boolean allowTopNavigation_
-
allowTopNavigationByUserActivation_
private boolean allowTopNavigationByUserActivation_
-
-
Constructor Detail
-
SandboxDirective
public SandboxDirective(java.util.List<java.lang.String> values, Directive.DirectiveErrorConsumer errors)
-
-
Method Detail
-
allowDownloads
public boolean allowDownloads()
-
allowForms
public boolean allowForms()
-
allowModals
public boolean allowModals()
-
allowOrientationLock
public boolean allowOrientationLock()
-
allowPointerLock
public boolean allowPointerLock()
-
allowPopups
public boolean allowPopups()
-
allowPopupsToEscapeSandbox
public boolean allowPopupsToEscapeSandbox()
-
allowPresentation
public boolean allowPresentation()
-
allowSameOrigin
public boolean allowSameOrigin()
-
allowScripts
public boolean allowScripts()
-
allowStorageAccessByUserActivation
public boolean allowStorageAccessByUserActivation()
-
allowTopNavigation
public boolean allowTopNavigation()
-
allowTopNavigationByUserActivation
public boolean allowTopNavigationByUserActivation()
-
-