@Test public void test_queryDomain(){ DomainDto domain; try { setContent200("domain"); domain = client.queryDomain("domainName"); } catch (RdapClientException e) { domain = null; } assertEquals("/domain/domainName", mockHttpServer.getRequestUrl()); assertEquals("domain-1", domain.getHandle()); }
public DomainDto queryDomain(String name) throws RdapClientException { return query(DomainDto.class, "domain", name); }
RdapQueryClient extends RdapClient { public DomainDto queryDomain(String name) throws RdapClientException { return query(DomainDto.class, "domain", name); } }
RdapQueryClient extends RdapClient { public DomainDto queryDomain(String name) throws RdapClientException { return query(DomainDto.class, "domain", name); } RdapQueryClient(RdapClientConfig config); }
RdapQueryClient extends RdapClient { public DomainDto queryDomain(String name) throws RdapClientException { return query(DomainDto.class, "domain", name); } RdapQueryClient(RdapClientConfig config); IpDto queryIp(String address); IpDto queryIp(String cidrPrefix, int cidrLength); DomainDto queryDomain(String name); NameserverDto queryNameserver(String name); AutnumDto queryAutnum(long autnum); EntityDto queryEntity(String handle); DomainDto searchDomainByName(String name); DomainDto searchDomainByNsLdhName(String nsLdhName); DomainDto searchDomainByNsIp(String nsIp); NameserverDto searchNameserverByName(String name); NameserverDto searchNameserverByIp(String ip); EntityDto searchEntityByFn(String name); EntityDto searchEntityByHandle(String handle); Help help(); }
RdapQueryClient extends RdapClient { public DomainDto queryDomain(String name) throws RdapClientException { return query(DomainDto.class, "domain", name); } RdapQueryClient(RdapClientConfig config); IpDto queryIp(String address); IpDto queryIp(String cidrPrefix, int cidrLength); DomainDto queryDomain(String name); NameserverDto queryNameserver(String name); AutnumDto queryAutnum(long autnum); EntityDto queryEntity(String handle); DomainDto searchDomainByName(String name); DomainDto searchDomainByNsLdhName(String nsLdhName); DomainDto searchDomainByNsIp(String nsIp); NameserverDto searchNameserverByName(String name); NameserverDto searchNameserverByIp(String ip); EntityDto searchEntityByFn(String name); EntityDto searchEntityByHandle(String handle); Help help();  }