@Test public void test_update_Domain() { UpdateResponse response; DomainDto dto = new DomainDto(); dto.setHandle("domain-1"); dto.setLdhName("ldhName1"); SecureDnsDto secureDNS = new SecureDnsDto(); secureDNS.setHandle("secureDNS-1"); secureDNS.setDelegationSigned(false); List<DsDataDto> dsData = new ArrayList<DsDataDto>(); DsDataDto dsDataDto = new DsDataDto(); dsDataDto.setAlgorithm(2); dsData.add(dsDataDto); secureDNS.setDsData(dsData); dto.setSecureDNS(secureDNS); try { setContent200(dto.getUpdateUri()); response = client.update(dto); } catch (RdapClientException e) { response = null; } assertEquals(mockHttpServer.getRequestUrl(), "/u/domain/domain-1"); assertEquals(response.getHandle(), dto.getHandle()); assertEquals(response.getErrorCode(), 0); assertEquals(response.getSubErrorCode(), 0); assertEquals(response.getDescription().size(), 0); }
public UpdateResponse update(BaseDto dto) throws RdapClientException { return execute(dto, HttpMethodType.PUT); }
RdapUpdateClient extends RdapClient { public UpdateResponse update(BaseDto dto) throws RdapClientException { return execute(dto, HttpMethodType.PUT); } }
RdapUpdateClient extends RdapClient { public UpdateResponse update(BaseDto dto) throws RdapClientException { return execute(dto, HttpMethodType.PUT); } RdapUpdateClient(RdapClientConfig config); }
RdapUpdateClient extends RdapClient { public UpdateResponse update(BaseDto dto) throws RdapClientException { return execute(dto, HttpMethodType.PUT); } 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 update(BaseDto dto) throws RdapClientException { return execute(dto, HttpMethodType.PUT); } 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);  }