Package org.htmlunit.csp.directive
Class PluginTypesDirective
- java.lang.Object
-
- org.htmlunit.csp.Directive
-
- org.htmlunit.csp.directive.PluginTypesDirective
-
public class PluginTypesDirective 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 java.util.List<MediaType>
mediaTypes_
-
Fields inherited from class org.htmlunit.csp.Directive
containsNonDirectiveCharacter, IS_DIRECTIVE_NAME
-
-
Constructor Summary
Constructors Constructor Description PluginTypesDirective(java.util.List<java.lang.String> values, Directive.DirectiveErrorConsumer errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
addMediaType(MediaType type, int index, Directive.DirectiveErrorConsumer errors)
java.util.List<MediaType>
getMediaTypes()
-
Methods inherited from class org.htmlunit.csp.Directive
addValue, getValues, removeValueIgnoreCase
-
-
-
-
Field Detail
-
mediaTypes_
private java.util.List<MediaType> mediaTypes_
-
-
Constructor Detail
-
PluginTypesDirective
public PluginTypesDirective(java.util.List<java.lang.String> values, Directive.DirectiveErrorConsumer errors)
-
-
Method Detail
-
addMediaType
private boolean addMediaType(MediaType type, int index, Directive.DirectiveErrorConsumer errors)
-
getMediaTypes
public java.util.List<MediaType> getMediaTypes()
-
-