Lines Matching defs:protocols
40 * URLs with protocols must match the protocol set passed to the constructor.
41 * URLs without protocols but which specify an origin different from the
59 private final ImmutableSet<String> protocols;
62 Iterable<? extends String> protocols) {
63 this.protocols = ImmutableSet.copyOf(protocols);
74 // or the protocols by which HTML is normally served are OK.
81 if (!protocols.contains(protocol)) { return null; }
89 return protocols.contains("http") && protocols.contains("https");
154 && protocols.equals(((FilterUrlByProtocolAttributePolicy) o).protocols);
159 return protocols.hashCode();