@Test public void test_create_Entity() { UpdateResponse response; EntityDto dto = new EntityDto(); dto.setHandle("entity-1"); dto.setFn("fn"); try { setContent200(dto.getUpdateUri()); response = client.create(dto); } catch (RdapClientException e) { response = null; } assertEquals(mockHttpServer.getRequestUrl(), "/u/entity"); assertEquals(response.getHandle(), dto.getHandle()); assertEquals(response.getErrorCode(), 0); assertEquals(response.getSubErrorCode(), 0); assertEquals(response.getDescription().size(), 0); }
public UpdateResponse create(BaseDto dto) throws RdapClientException { return execute(dto, HttpMethodType.POST); }
RdapUpdateClient extends RdapClient { public UpdateResponse create(BaseDto dto) throws RdapClientException { return execute(dto, HttpMethodType.POST); } }
RdapUpdateClient extends RdapClient { public UpdateResponse create(BaseDto dto) throws RdapClientException { return execute(dto, HttpMethodType.POST); } RdapUpdateClient(RdapClientConfig config); }
RdapUpdateClient extends RdapClient { public UpdateResponse create(BaseDto dto) throws RdapClientException { return execute(dto, HttpMethodType.POST); } 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 create(BaseDto dto) throws RdapClientException { return execute(dto, HttpMethodType.POST); } 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);  }