Interface DomainResourceFactory


  • public interface DomainResourceFactory
    • Method Detail

      • getDomainResource

        DomainResource getDomainResource​(String domainName)
                                  throws NonAuthoritativeException
        Return a DomainResource for the given domain name, or null if the name does not exist. Throwing a NonAuthoritativeException signifies that the nameserver does not have authoritative data for the requested name, while a null response states definitively that there is no such domain. The method must return a ZoneDomainResource for any domain that marks the start of a zone of authority. Implementations should be able to handle domain name Strings that end in a "." as well as those that don't.
        Parameters:
        domainName -
        Returns:
        Throws:
        NonAuthoritativeException