aspose file tools*
The moose likes Web Services and the fly likes Response.created() is not returning response body Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Response.created() is not returning response body " Watch "Response.created() is not returning response body " New topic
Author

Response.created() is not returning response body

Dario Herrera
Greenhorn

Joined: Feb 24, 2012
Posts: 1
Am trying to return a 201 http code with a Response.created() method, but the response body is always empty. ...

URI uri = new URI(uriInfo.getPath() + "/" + appID);
return Response.created(uri).entity(anyEntity).build();
any help?, thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Response.created() is not returning response body