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 inherited from class org.htmlunit.csp.Directive
containsNonDirectiveCharacter, IS_DIRECTIVE_NAME
-
-
Constructor Summary
Constructors Constructor Description SandboxDirective(List<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
-
-
-
-
Constructor Detail
-
SandboxDirective
public SandboxDirective(List<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()
-
-