@Test public void test_update_failToUpdate_ip() { UpdateResponse response; IpDto dto = new IpDto(); dto.setHandle("ip-1"); try { setContent404(dto.getUpdateUri()); response = client.update(dto); } catch (RdapClientException e) { response = null; } assertEquals(response.getHandle(), dto.getHandle()); assertEquals(response.getErrorCode(), 404); assertEquals(response.getSubErrorCode(), 4041); assertEquals(response.getDescription().get(0), "Object not found"); }
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);  }