[Jersey] Re: Error: HTTP method DELETE doesn't support output

From: moshebeeri <>
Date: Sat, 24 Dec 2011 15:49:17 -0800 (PST)

The problem is that the default client produces synchronous WebResource to
grab the response back.
When using @DELETE there is no need to synchronize request for idempotent
I just changes the call to the following format and it works like charm

ClientConfig clientConfig = new DefaultClientConfig();
Client c = Client.create(clientConfig);
AsyncWebResource ar =
r.delete(Status.class, reqStatus);

Code Well,
Moshe Beeri.

View this message in context:
Sent from the Jersey mailing list archive at