diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/IncludeExcludeSet.java b/jetty-util/src/main/java/org/eclipse/jetty/util/IncludeExcludeSet.java index 2c31041f7c6..da9467d49cd 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/IncludeExcludeSet.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/IncludeExcludeSet.java @@ -31,7 +31,8 @@ import java.util.function.Predicate; *

The type of the underlying {@link Set} used may be passed into the * constructor, so special sets like Servlet PathMap may be used. *

- * @param

The type of element + * @param

The type of element of the set (often a pattern) + * @param The type of the instance passed to the predicate */ public class IncludeExcludeSet implements Predicate { @@ -70,7 +71,7 @@ public class IncludeExcludeSet implements Predicate * If the {@link Set} class also implements {@link Predicate}, then that Predicate is * used to match against the set, otherwise a simple {@link Set#contains(Object)} test is used. * @param setClass The type of {@link Set} to using internally - * @param predicate A predicate function to test if a passed ITEM is matched by the passed SET} + * @param The type of a set to use as the backing store */ public > IncludeExcludeSet(Class setClass) { @@ -107,6 +108,7 @@ public class IncludeExcludeSet implements Predicate * @param includePredicate the Predicate for included item testing (null for simple {@link Set#contains(Object)} test) * @param excludeSet the Set of items that represent the excluded space * @param excludePredicate the Predicate for excluded item testing (null for simple {@link Set#contains(Object)} test) + * @param The type of a set to use as the backing store */ public > IncludeExcludeSet(Set

includeSet, Predicate includePredicate, Set

excludeSet, Predicate excludePredicate) { diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/InetAddressSet.java b/jetty-util/src/main/java/org/eclipse/jetty/util/InetAddressSet.java index 615c2eb50c7..2df0fd40d65 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/InetAddressSet.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/InetAddressSet.java @@ -31,19 +31,19 @@ import java.util.function.Predicate; *

This is a {@link Set} of String patterns that are used to match * a {@link Predicate} over InetAddress for containment semantics. * The patterns that may be set are: - *

- *
InetAddress
A single InetAddress either in hostname or address format. - * All formats supported by {@link InetAddress} are accepted. Not ethat using hostname - * matches may force domain lookups. eg. "[::1]", "1.2.3.4", "::ffff:127.0.0.1" - *
InetAddress/CIDR
An InetAddress with a integer number of bits to indicate - * the significant prefix. eg. "192.168.0.0/16" will match from "192.168.0.0" to - * "192.168.255.255" - *
InetAddress-InetAddress
An inclusive range of InetAddresses. - * eg. "[a000::1]-[afff::]", "192.168.128.0-192.168.128.255" - *
Legacy format
The legacy format used by {@link IPAddressMap} for IPv4 only. - * eg. "10.10.10-14.0-128" - *
*

+ *
+ *
InetAddress
A single InetAddress either in hostname or address format. + * All formats supported by {@link InetAddress} are accepted. Not ethat using hostname + * matches may force domain lookups. eg. "[::1]", "1.2.3.4", "::ffff:127.0.0.1"
+ *
InetAddress/CIDR
An InetAddress with a integer number of bits to indicate + * the significant prefix. eg. "192.168.0.0/16" will match from "192.168.0.0" to + * "192.168.255.255"
+ *
InetAddress-InetAddress
An inclusive range of InetAddresses. + * eg. "[a000::1]-[afff::]", "192.168.128.0-192.168.128.255"
+ *
Legacy format
The legacy format used by {@link IPAddressMap} for IPv4 only. + * eg. "10.10.10-14.0-128"
+ *
*

This class is designed to work with {@link IncludeExcludeSet}

* @see IncludeExcludeSet */