You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Cristi Manole <cr...@gmail.com> on 2009/04/12 01:30:06 UTC

Request input stream

Hello,

Is there a way on a org.apache.wicket.markup.html.WebPage to access the
HttpServletRequest? Is it mapped somehow?

Or to have access to the input stream of the request the way getResponse()
offers to the output stream?

Thank you,
Cristi Manole

Re: Request input stream

Posted by Cristi Manole <cr...@gmail.com>.
actually

((*WebRequest*)getRequestCycle().getRequest()).getHttpServletRequest()

Thanks a lot for the [very] quick answer!!

Cristi

On Sun, Apr 12, 2009 at 2:38 AM, Igor Vaynberg <ig...@gmail.com>wrote:

> ((webresponse)getrequestcycle().getrequest()).gethttpservletrequest()
>
> -igor
>
> On Sat, Apr 11, 2009 at 4:30 PM, Cristi Manole <cr...@gmail.com>
> wrote:
> > Hello,
> >
> > Is there a way on a org.apache.wicket.markup.html.WebPage to access the
> > HttpServletRequest? Is it mapped somehow?
> >
> > Or to have access to the input stream of the request the way
> getResponse()
> > offers to the output stream?
> >
> > Thank you,
> > Cristi Manole
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Request input stream

Posted by Igor Vaynberg <ig...@gmail.com>.
((webresponse)getrequestcycle().getrequest()).gethttpservletrequest()

-igor

On Sat, Apr 11, 2009 at 4:30 PM, Cristi Manole <cr...@gmail.com> wrote:
> Hello,
>
> Is there a way on a org.apache.wicket.markup.html.WebPage to access the
> HttpServletRequest? Is it mapped somehow?
>
> Or to have access to the input stream of the request the way getResponse()
> offers to the output stream?
>
> Thank you,
> Cristi Manole
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org