aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 12769
    
    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