public class ContentSecurityPolicy extends ArrayList<PolicyDirective>
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
modCount| Constructor and Description |
|---|
ContentSecurityPolicy() |
| Modifier and Type | Method and Description |
|---|---|
Optional<PolicyDirective> |
addPolicyDirective(PolicyDirective policyDirective) |
Optional<PolicyDirective> |
getByDirectiveName(String directiveName) |
VariableValue |
getVariableValue() |
PolicyDirective |
newPolicyDirective(String name) |
String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic static final String NAME
public VariableValue getVariableValue()
public String toString()
toString in class AbstractCollection<PolicyDirective>public PolicyDirective newPolicyDirective(String name)
public Optional<PolicyDirective> addPolicyDirective(PolicyDirective policyDirective)
public Optional<PolicyDirective> getByDirectiveName(String directiveName)
Copyright © 2018. All rights reserved.