JAX-RS: Servlet Resources Injection
-----------------------------------
Key: CXF-1498
URL: https://issues.apache.org/jira/browse/CXF-1498
Project: CXF
Issue Type: Bug
Components: REST
Affects Versions: 2.1
Reporter: Mickael Goujon
Form 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 ).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.