My REST client uses RestTemplate to obtain a List of objects.
ResponseEntitiy<List> res = restTemplate.postForEntity(getUrl(), myDTO, List.class);
Now I want to use the list returned and return it as List to the calling class. In case of string, toString could be used, but what is the work around for lists?