So I created another thread and it's about the same code but the need for the question I believe it's different enough to grant another question/thread/post.
I would like to know if there's a way similar to the request method that exists in Entity
So I want to use a similar code to this:
Response response = target.path("rest").path("todos")
.path(todo.getId()).request().accept(MediaType.APPLICATION_XML)
.put(Entity.xml(todo),Response.class);
But for java EE 6, since this is my first time using this types of classes and when looking for similar functionalities I get really lost, I don't really know what would be similar to that request.
Aucun commentaire:
Enregistrer un commentaire