users@jersey.java.net

Response, Status & Family

From: <amsmota_at_gmail.com>
Date: Mon, 26 Jan 2009 15:41:21 +0000

Maybe I'm not seeing things as they are, but since there is all these
classes/enumerations, I was hoping to write something like this:

if (response.getStatus().getFamily() == Response.Status.Family.SUCCESSFUL) {


So, what am I'm looking wrong?


_______________________________________________

Melhores cumprimentos / Beir beannacht / Best regards

António Manuel dos Santos Mota

mailto:amsmota_at_gmail.com
mailto:amsmota_at_ireland.com
msn:antoniomsmota_at_hotmail.com
profile:http://www.linkedin.com/in/amsmota
_______________________________________________