Created
July 7, 2016 12:27
-
-
Save dmarrazzo/436f64b7d6246bf1433b1864d8cd8e66 to your computer and use it in GitHub Desktop.
JAX-RS client get collections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Client client = ClientBuilder.newClient(); | |
Response res = client.target("http://localhost:8888/Rest/ok").request().get(); | |
Simple[] entity = res.readEntity(Simple[].class); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment