On Sun, Aug 30, 2009 at 7:45 PM, Erdinc <[email protected]> wrote:

>
> Dhanji, thanks for your reply. Is there a documentation about which
> classes in the servlet API are injectable to where? Can I also inject
> HttpRequest, ServletContext etc? I checked the wiki on code.google.com
> but I couldn't find any info. It makes sense that HttpSession is
> injectable to a class which uses session scope.


Yes, you can inject:

HttpServletRequest, HttpServletResponse, HttpSession, ServletContext,
@RequestParameters Map<String, String>[]

I will update the doc accordingly.

Dhanji.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to