This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes Web Services and the fly likes Error handling in RESTful Webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Error handling in RESTful Webservices" Watch "Error handling in RESTful Webservices" New topic
Author

Error handling in RESTful Webservices

Saathvik Reddy
Ranch Hand

Joined: Jun 03, 2005
Posts: 228
Hi,

I am new to Restful web services. Could anyone point me to any resources which talks about Error handling in Restful web services.

Thanks in advance
Srikanth.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12939
    
    5
RESTful designs like to use existing HTTP error reporting mechanisms rather than inventing new ones.

The javax.servlet.http.HttpServletResponse interface Javadocs gives a list of these industry standard status codes.

Bill
 
Don't get me started about those stupid light bulbs.
 
subject: Error handling in RESTful Webservices