users@jersey.java.net

Response of a DELETE method ?

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 1 Nov 2009 15:05:02 +0100

arena.path("competition").path(competitionName).delete();

How to get a Response from this line ? it is void..

if I do it with curl, I got:

fgaucho_at_Fortunario:~/mercurial/puj~arena$ curl -i -XDELETE
http://fgaucho.dyndns.org:8080/arena-http/competition/PUJCE-09
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0
Server: GlassFish v3
Content-Length: 0
Date: Sun, 01 Nov 2009 14:02:00 GMT

so, how do I get the same HTTP 200 from the Jersey Client ?

I want this response to include a comparison in the integration test
.........................