129130131132133134135
} @GET @Path("chapter") public Chapter getChapter() { return new Chapter(1); }
136137138139140141142
@GET @Path("chapter2") @ElementClass(response = Chapter.class) public Response getChapter2() { return Response.ok().entity(new Chapter(1)).build(); }
110111112113114115116
117118119120121122123
132133134135136137138
139140141142143144145