@Test public void test_queryAutnum(){ AutnumDto autnum; try { setContent200("autnum"); autnum = client.queryAutnum(2100); } catch (RdapClientException e) { autnum = null; } assertEquals("/autnum/2100", mockHttpServer.getRequestUrl()); assertEquals("autnum-1", autnum.getHandle()); }
public AutnumDto queryAutnum(long autnum) throws RdapClientException { return query(AutnumDto.class, "autnum", String.valueOf(autnum)); }
RdapQueryClient extends RdapClient { public AutnumDto queryAutnum(long autnum) throws RdapClientException { return query(AutnumDto.class, "autnum", String.valueOf(autnum)); } }
RdapQueryClient extends RdapClient { public AutnumDto queryAutnum(long autnum) throws RdapClientException { return query(AutnumDto.class, "autnum", String.valueOf(autnum)); } RdapQueryClient(RdapClientConfig config); }
RdapQueryClient extends RdapClient { public AutnumDto queryAutnum(long autnum) throws RdapClientException { return query(AutnumDto.class, "autnum", String.valueOf(autnum)); } 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 AutnumDto queryAutnum(long autnum) throws RdapClientException { return query(AutnumDto.class, "autnum", String.valueOf(autnum)); } 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();  }