Class BsaLabelUtils

java.lang.Object
google.registry.bsa.persistence.BsaLabelUtils

public final class BsaLabelUtils extends Object
Helpers for BsaLabel.
  • Method Details

    • isLabelBlocked

      public static boolean isLabelBlocked(String domainLabel)
      Checks if the domainLabel (the leading `part` of a domain name) is blocked by BSA.
    • getBlockedLabels

      public static com.google.common.collect.ImmutableSet<String> getBlockedLabels(com.google.common.collect.ImmutableCollection<String> domainLabels)
      Returns the elements in domainLabels that are blocked by BSA.