Description
From the 0.6 specs for JAX-RS, in section 5.1:
"The javax.annotation.Resource annotation can be used to indicate a dependency on a Servlet-defined resource. An implementation MUST support injection of the following types: ServletConfig, ServletContext, HttpServletRequest and HttpServletResponse."
This is currently missing from the current 2.1-incubator version.
I'll attach to this ticket a patch that adds support for ServletContext, HttpServletRequest and HttpServletResponse (written with the help of Sergey ).