Package be.dnsbelgium.core

Examples of be.dnsbelgium.core.DomainName


  @RequestMapping(value = "/{domainName}", method = RequestMethod.GET, produces = Controllers.CONTENT_TYPE)
  @ResponseBody
  public Domain get(@PathVariable("domainName") final String domainName) throws Error {
    LOGGER.debug("Query for domain {}", domainName);
    final DomainName dn;
    try {
      dn = DomainName.of(domainName);
      Domain result = domainService.getDomain(dn);
      if (result == null) {
        LOGGER.debug("Domain result for '{}' is null. Throwing DomainNotFoundException", domainName);
View Full Code Here

TOP

Related Classes of be.dnsbelgium.core.DomainName

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.