I want to know how I can extract a List<String> as response from the jersey-2.0 client.
I have already tried this,
List<String> list = client
.target(url)
.request(MediaType.APPLICATION_JSON)
.get(new GenericType<List<String>>(){});
But, the above code is not working. It is not returning the expected List<String> but, a null value instead.