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
requirement.
I just changes the call to the following format and it works like charm
ClientConfig clientConfig = new DefaultClientConfig();
clientConfig.getFeatures().put(JSONConfiguration.FEATURE_POJO_MAPPING,
Boolean.TRUE);
Client c = Client.create(clientConfig);
AsyncWebResource ar =
c.*asyncResource*("
http://127.0.0.1:8888/r/at/delete");
r.delete(Status.class, reqStatus);
Code Well,
Moshe Beeri.
--
View this message in context: http://jersey.576304.n2.nabble.com/Error-HTTP-method-DELETE-doesn-t-support-output-tp4513829p7125103.html
Sent from the Jersey mailing list archive at Nabble.com.