|
From: Bill B. <bb...@re...> - 2014-07-07 22:43:11
|
resteasy version? servlet container/version?
On 7/7/2014 6:29 PM, Larry Meadors wrote:
> I'm trying to implement a service that uses a DELETE http method but
> also posts data ("patronId=12345678901111") for the delete operation.
>
> The patronId doesn't appear to be passed along to my resource method.
>
> I tried a couple of different ways of making the call (Cocoa Rest
> Client and curl), but the results were the same, so I walked through
> the code with a debugger.
>
> It looks like there is a workaround in HttpServletInputMessage for
> Tomcat and PUT requests to deal with a similar issue, so I tried
> changing the curl command to use PUT instead of DELETE - that worked.
>
> I haven't tried cloning the repo and changing (the public
> MultivaluedMap<String, String> getFormParameters() and public
> MultivaluedMap<String, String> getDecodedFormParameters() methods),
> but I think that changing the code there to handle "DELETE" the same
> way as "PUT" would resolve this.
>
> Three questions:
>
> - is this something that is an issue or intentional?
> - if it's an issue, is this a known one or did I find a new one?
> - is there a workaround for this?
>
> Larry
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Resteasy-developers mailing list
> Res...@li...
> https://lists.sourceforge.net/lists/listinfo/resteasy-developers
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
|