Package org.htmlunit.csp.directive
Class HostSourceDirective
- java.lang.Object
-
- org.htmlunit.csp.Directive
-
- org.htmlunit.csp.directive.HostSourceDirective
-
- Direct Known Subclasses:
FrameAncestorsDirective,SourceExpressionDirective
public abstract class HostSourceDirective 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 Modifier Constructor Description protectedHostSourceDirective(List<String> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddValue(String value)List<Host>getHosts()StringgetNone()List<Scheme>getSchemes()protected voidremoveValueIgnoreCase(String value)booleanself()booleanstar()
-
-
-
Method Detail
-
getNone
public String getNone()
-
removeValueIgnoreCase
protected void removeValueIgnoreCase(String value)
- Overrides:
removeValueIgnoreCasein classDirective
-
star
public boolean star()
-
self
public boolean self()
-
-