Class PluginTypesDirective
java.lang.Object
com.shapesecurity.salvation2.Directive
com.shapesecurity.salvation2.Directives.PluginTypesDirective
-
Nested Class Summary
Nested classes/interfaces inherited from class com.shapesecurity.salvation2.Directive
Directive.DirectiveErrorConsumer, Directive.ManipulationErrorConsumer
-
Field Summary
FieldsFields inherited from class com.shapesecurity.salvation2.Directive
containsNonDirectiveCharacter, values
-
Constructor Summary
ConstructorsConstructorDescriptionPluginTypesDirective
(List<String> values, Directive.DirectiveErrorConsumer errors) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
_addMediaType
(MediaType type, int index, Directive.DirectiveErrorConsumer errors) void
addMediaType
(MediaType type, Directive.ManipulationErrorConsumer errors) boolean
removeMediaType
(MediaType type) Methods inherited from class com.shapesecurity.salvation2.Directive
addValue, getValues, removeValueIgnoreCase, wrapManipulationErrorConsumer
-
Field Details
-
mediaTypes
-
-
Constructor Details
-
PluginTypesDirective
-
-
Method Details
-
_addMediaType
-
getMediaTypes
-
addMediaType
-
removeMediaType
-