@Test public void test_queryEntity(){ EntityDto entity; try { setContent200("entity"); entity = client.queryEntity("entityName"); } catch (RdapClientException e) { entity = null; } assertEquals("/entity/entityName", mockHttpServer.getRequestUrl()); assertEquals("entity-1", entity.getHandle()); }
public EntityDto queryEntity(String handle) throws RdapClientException { return query(EntityDto.class, "entity", handle); }
RdapQueryClient extends RdapClient { public EntityDto queryEntity(String handle) throws RdapClientException { return query(EntityDto.class, "entity", handle); } }
RdapQueryClient extends RdapClient { public EntityDto queryEntity(String handle) throws RdapClientException { return query(EntityDto.class, "entity", handle); } RdapQueryClient(RdapClientConfig config); }
RdapQueryClient extends RdapClient { public EntityDto queryEntity(String handle) throws RdapClientException { return query(EntityDto.class, "entity", handle); } 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 EntityDto queryEntity(String handle) throws RdapClientException { return query(EntityDto.class, "entity", handle); } 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();  }