[ https://issues.apache.org/jira/browse/CXF-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-2335. ----------------------------------- Resolution: Fixed Fix Version/s: 2.7.2 Assignee: Sergey Beryozkin > Support @Context injection for JAX-RS Subresources > -------------------------------------------------- > > Key: CXF-2335 > URL: https://issues.apache.org/jira/browse/CXF-2335 > Project: CXF > Issue Type: Improvement > Components: JAX-RS > Affects Versions: 2.2.2 > Reporter: Hendy Irawan > Assignee: Sergey Beryozkin > Fix For: 2.7.2 > > > This works in Jersey, but not in CXF: > class ........ { > @Context > private UriInfo context; > } > The alternative, works on both CXF and Jersey: > class ...... { > @GET > public void something(@Context UriInfo context) { > ... > } > } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira