@Test public void test_delete_Domain() { UpdateResponse response; try { setContent200("domain"); response = client.deleteDomain("domain-1"); } catch (RdapClientException e) { response = null; } assertEquals(mockHttpServer.getRequestUrl(), "/u/domain/domain-1"); assertEquals(response.getHandle(), "domain-1"); assertEquals(response.getErrorCode(), 0); assertEquals(response.getSubErrorCode(), 0); assertEquals(response.getDescription().size(), 0); }
public UpdateResponse deleteDomain(String handle) throws RdapClientException { DomainDto dto = new DomainDto(); dto.setHandle(handle); return execute(dto, HttpMethodType.DELETE); }
RdapUpdateClient extends RdapClient { public UpdateResponse deleteDomain(String handle) throws RdapClientException { DomainDto dto = new DomainDto(); dto.setHandle(handle); return execute(dto, HttpMethodType.DELETE); } }
RdapUpdateClient extends RdapClient { public UpdateResponse deleteDomain(String handle) throws RdapClientException { DomainDto dto = new DomainDto(); dto.setHandle(handle); return execute(dto, HttpMethodType.DELETE); } RdapUpdateClient(RdapClientConfig config); }
RdapUpdateClient extends RdapClient { public UpdateResponse deleteDomain(String handle) throws RdapClientException { DomainDto dto = new DomainDto(); dto.setHandle(handle); return execute(dto, HttpMethodType.DELETE); } RdapUpdateClient(RdapClientConfig config); UpdateResponse create(BaseDto dto); UpdateResponse update(BaseDto dto); UpdateResponse deleteIp(String handle); UpdateResponse deleteDomain(String handle); UpdateResponse deleteEntity(String handle); UpdateResponse deleteNameserver(String handle); UpdateResponse deleteAutnum(String handle); }
RdapUpdateClient extends RdapClient { public UpdateResponse deleteDomain(String handle) throws RdapClientException { DomainDto dto = new DomainDto(); dto.setHandle(handle); return execute(dto, HttpMethodType.DELETE); } RdapUpdateClient(RdapClientConfig config); UpdateResponse create(BaseDto dto); UpdateResponse update(BaseDto dto); UpdateResponse deleteIp(String handle); UpdateResponse deleteDomain(String handle); UpdateResponse deleteEntity(String handle); UpdateResponse deleteNameserver(String handle); UpdateResponse deleteAutnum(String handle);  }