@Test public void test_queryIp2(){ IpDto ip; try { setContent200("ip"); ip = client.queryIp("192.168.1.1", 8); } catch (RdapClientException e) { ip = null; } assertEquals("/ip/192.168.1.1/8", mockHttpServer.getRequestUrl()); assertEquals("ip-1", ip.getHandle()); }
public IpDto queryIp(String address) throws RdapClientException { return query(IpDto.class, "ip", address); }
RdapQueryClient extends RdapClient { public IpDto queryIp(String address) throws RdapClientException { return query(IpDto.class, "ip", address); } }
RdapQueryClient extends RdapClient { public IpDto queryIp(String address) throws RdapClientException { return query(IpDto.class, "ip", address); } RdapQueryClient(RdapClientConfig config); }
RdapQueryClient extends RdapClient { public IpDto queryIp(String address) throws RdapClientException { return query(IpDto.class, "ip", address); } 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 IpDto queryIp(String address) throws RdapClientException { return query(IpDto.class, "ip", address); } 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();  }