How to make response 404 without any HTML body for RESTful?
I just use following code to response a 404:Not found.
return Response.status(Status.NOT_FOUND).build();
While the response always with following body. How can i remove them?
Holp anyone can help me? Thank you so much!
链接地址: http://www.djcxy.com/p/45592.html