|
From: Larry M. <lar...@gm...> - 2014-07-07 23:22:37
|
Thanks Bill, Perhaps I wasn't clear - I'm not using the JAX-RS 2.0 client API - I'm implementing the server side of an API from a third party, so I'm constrained on changing the URL and HTTP method. They will be using DELETE and sending data to the URL they are providing and that I'm trying to implement. I can see in the HttpServletInputMessage that it's dealing with PUT requests differently - in the "getFormParameters()" and the "getDecodedFormParameters()" methods. Here's the class I'm reading: https://github.com/resteasy/Resteasy/blob/master/jaxrs/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/server/servlet/HttpServletInputMessage.java Lines 141 and 155 are where the two methods I'm looking at begin. In a debugger, I can see that the incoming request has the bytes for the posted data - it's just not being parsed and included for DELETE requests, so my @FormParam value is null. If it handled DELETE the same way that it handles PUT, it would work perfectly. Larry |