Class SandboxDirective
java.lang.Object
org.htmlunit.csp.Directive
org.htmlunit.csp.directive.SandboxDirective
-
Nested Class Summary
Nested classes/interfaces inherited from class Directive
Directive.DirectiveErrorConsumer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanprivate booleanFields inherited from class Directive
containsNonDirectiveCharacter, IS_DIRECTIVE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionSandboxDirective(List<String> values, Directive.DirectiveErrorConsumer errors) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanMethods inherited from class Directive
addValue, getValues, removeValueIgnoreCase
-
Field Details
-
ALLOW_DOWNLOADS
- See Also:
-
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_
-
-
Constructor Details
-
SandboxDirective
-
-
Method Details
-
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()
-