users@jersey.java.net

[Jersey] Re: Injection of HttpServletRequest-Context in ContainerRequestFilter does not work

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Mon, 8 Jul 2013 13:37:39 +0200

I'd be still interested in the stack trace of the original exception. Can you send it to us?

Marek
 
On Jun 18, 2013, at 9:31 PM, Ashwin Ravindran <ashw.reddi_at_gmail.com> wrote:

> I got request object into my filter using ResourceContext. My problem is solved. Thanks
>
>
> On Tue, Jun 18, 2013 at 11:49 AM, Ashwin Ravindran <ashw.reddi_at_gmail.com> wrote:
> Thanks for reply. I am using in-house web server and have some validation methods for cookies inside webserverrequest object. I wanted to access this method in my filter so thought of injecting Request object. I could also see issue opened up for this issue but could not see any updates on it.
>
>
> On Tue, Jun 18, 2013 at 10:34 AM, Ashwin Ravindran <ashw.reddi_at_gmail.com> wrote:
> Hey,
>
> I am using Jersey 2.0 and not able to inject Request object into my filter. I am getting java.lang.IllegalStateException: Not inside a request scope this error while trying to inject. Please let me know whether there is any work around for this issue
>
> --
> Thanks
> Ashwin
>
>
>
> --
> Thanks
> Ashwin
>
>
>
> --
> Thanks
> Ashwin