public class FrameAncestorsDirective extends Directive<AncestorSource>
FETCH_DIRECIVE_COUNT, NESTED_CONTEXT_DIRECTIVE_COUNT| Constructor and Description |
|---|
FrameAncestorsDirective(Set<AncestorSource> ancestorSources) |
| Modifier and Type | Method and Description |
|---|---|
Directive<AncestorSource> |
construct(Set<AncestorSource> newValues) |
boolean |
matchesSource(Origin origin,
GUID resource) |
boolean |
matchesSource(Origin origin,
URI resource) |
bind, clone, contains, equals, getFetchDirectives, getNestedContextDirectives, hashCode, intersect, show, sourceListEquals, union, valuespublic FrameAncestorsDirective(@Nonnull Set<AncestorSource> ancestorSources)
@Nonnull public Directive<AncestorSource> construct(Set<AncestorSource> newValues)
construct in class Directive<AncestorSource>public boolean matchesSource(@Nonnull Origin origin, @Nonnull URI resource)
matchesSource in interface MatchesSourcepublic boolean matchesSource(@Nonnull Origin origin, @Nonnull GUID resource)
matchesSource in interface MatchesSourceCopyright © 2019. All rights reserved.