Class IPBlock


  • public final class IPBlock
    extends java.lang.Object
    • Method Detail

      • cidr

        public java.lang.String cidr()
        Returns:
        CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64"
      • except

        public java.util.List<java.lang.String> except()
        Returns:
        Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range