You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2013/08/26 15:27:51 UTC
[jira] [Resolved] (CXF-5065) Subresource operations do not see root
resource Produces or Consumes annotations
[ https://issues.apache.org/jira/browse/CXF-5065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-5065.
-----------------------------------
Resolution: Fixed
> Subresource operations do not see root resource Produces or Consumes annotations
> ---------------------------------------------------------------------------------
>
> Key: CXF-5065
> URL: https://issues.apache.org/jira/browse/CXF-5065
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Reporter: Sergey Beryozkin
> Assignee: Sergey Beryozkin
> Fix For: 3.0.0, 2.7.6, 2.6.9, 2.5.11
>
>
> If we have
> {code:java}
> @Path("/root")
> @Produces("text/xml")
> public class Root {
> @Path("/sub")
> public SubRoot getSubRoot() {
> }
> }
> public class SubRoot {
> @GET
> public Order get() {
> }
> }
> {code}
> then SubRoot.get() method will not inherit Root's @Produces
--
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