@Test public void test_create_notlegal_dto_Exception() { UpdateResponse response; PublicIdDto dto = new PublicIdDto(); dto.setLang("chinese"); try { response = client.create(dto); } catch (RdapClientException e) { response = null; } assertEquals(response, null); }
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);  }