Hi,

I remember dealing with this in the past but I cannot find the mail thread
now.
I think the complete body should be available as a valueless key in the
post parameters:
getRequest().getPostParameters().getParameterNames().iterator().next().
Please confirm whether this works!
If it does then I think it would be good to add a helper method to simplify
this.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Sat, Mar 26, 2016 at 5:28 AM, Илья Нарыжный <[email protected]> wrote:

> It seems that Wicket Resource can't obtain whole HTTP POST body.
> The reason of that is the following:
> Mappers invoke WebRequest.isAjax() and isAjax() is trying to
> getRequestParameters() - so body of POST parsed prior to actual
> getInputStream() in a Resource object.
>
> Is there any chances to allow Resources to get request body?
>
> Thanks,
>
> Ilia
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to