Class HostFlowUtils

java.lang.Object
google.registry.flows.host.HostFlowUtils

public class HostFlowUtils extends Object
Static utility functions for host flows.
  • Constructor Details

    • HostFlowUtils

      public HostFlowUtils()
  • Method Details

    • validateHostName

      public static com.google.common.net.InternetDomainName validateHostName(String name) throws EppException
      Checks that a host name is valid.
      Throws:
      EppException
    • lookupSuperordinateDomain

      public static Optional<Domain> lookupSuperordinateDomain(com.google.common.net.InternetDomainName hostName, org.joda.time.DateTime now) throws EppException
      Return the Domain this host is subordinate to, or null for external hosts.
      Throws:
      EppException