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.String
ALLOW_DOWNLOADS
private boolean
allowDownloads_
private boolean
allowForms_
private boolean
allowModals_
private boolean
allowOrientationLock_
private boolean
allowPointerLock_
private boolean
allowPopups_
private boolean
allowPopupsToEscapeSandbox_
private boolean
allowPresentation_
private boolean
allowSameOrigin_
private boolean
allowScripts_
private boolean
allowStorageAccessByUserActivation_
private boolean
allowTopNavigation_
private boolean
allowTopNavigationByUserActivation_
-
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 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()
-
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()
-
-