Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1004 Implement JSR-311 1.0
  3. CXF-1006

Support root resource class constructors with annotated parameters.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2.1
    • JAX-RS
    • None

    Description

      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.

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            jliu Jervis Liu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: