users@jersey.java.net

[Jersey] 300 MULTIPLE CHOICES

From: Gili <cowwoc_at_bbs.darktech.org>
Date: Sat, 24 Jan 2009 07:29:30 -0800 (PST)

Hi,

I wanted to discuss the fact that Jersey throws UniformInterfaceException if
the return-code is equal to or greater than 300.

I started a discussion at
http://stackoverflow.com/questions/401191/how-to-return-random-items-restfully
and someone suggested that return-code 300 is appropriate for a resource
whose state consists of links to sub-resources. In such a case, HTTP 300
would not constitute an error at all. What are your thoughts on the matter?

Thanks,
Gili
-- 
View this message in context: http://n2.nabble.com/300-MULTIPLE-CHOICES-tp2209176p2209176.html
Sent from the Jersey mailing list archive at Nabble.com.