users@jersey.java.net

Re: [Jersey] Access HttpServletRequest

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 18 Jan 2010 11:21:10 +0000

On Jan 14, 2010, at 9:59 PM, cgswtsu78 wrote:

>
> Hello,
>
> Does anyone know how to access the HttpServletRequest?
>
> I've tried @Context HttpServletRequest request; but it's always
> null....I'm
> trying to access the WWW-Authenticate and Authorization headers
>

That should work. Can you provide more details on what you are
injecting on to, how you are injecting and accessing the reference?

Paul.