Support root resource class constructors with annotated parameters.
-------------------------------------------------------------------
Key: CXF-1006
URL: https://issues.apache.org/jira/browse/CXF-1006
Project: CXF
Issue Type: Sub-task
Components: REST
Affects Versions: 2.1
Reporter: Jervis Liu
Root resource classes are instantiated by the JAX-RS runtime and MUST have a
constructor with one of the following annotations on every parameter:
@HttpContext, @HeaderParam, @MatrixParam, @QueryParam or @UriParam. Note that a
zero argument constructor is permissible under this rule. Section 2.4.1 defines
the parameter types permitted for each annotation. If more than one constructor
that matches the above pattern is available then an implementation MUST use the
one with the most parameters. Choosing amongst constructors with the same
number of parameters is implementation specific.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.